Code Monkey home page Code Monkey logo

Comments (5)

sorin-ionescu avatar sorin-ionescu commented on May 22, 2024

It's telling tmux to launch a login shell. I remember that error. It believe it's a tmux bug. You'll have to google.

By the way, tmux is pretty buggy. I had the thing crash OS X multiple times with kernel panics. I had to power cycle the machine.

from prezto.

ColinHebert avatar ColinHebert commented on May 22, 2024

Yes, I've already done my research. It doesn't seem to be due to tmux (well, not entirely), but to launch_ctl .
I know it's to start a login shell, but I wonder if it's important to force it.

The documentation states that by default, default-command is executed, and if default-command isn't set

The default is an empty string, which instructs tmux to create a login shell
using the value of the default-shell option.

And by default, default-shell

When started tmux tries to set a default value from the first suitable of the SHELL environment variable,
the shell returned by getpwuid(3), or /bin/sh.

So that's basically what tmux is already doing.

from prezto.

sorin-ionescu avatar sorin-ionescu commented on May 22, 2024

Ok. Then I suppose it's safe to remove. The screen plugin was written first and the tmux plugin is based on it.

from prezto.

ColinHebert avatar ColinHebert commented on May 22, 2024

Just, more information on the issue: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard

If you don't use this reattach-to-user-namespace you will still have the issue.
Right now I have

set-option -g default-command "reattach-to-user-namespace -l $SHELL -l"

in my .tmux.conf and it works fine.

from prezto.

sorin-ionescu avatar sorin-ionescu commented on May 22, 2024

Right, I use that to make pbcopy/pbpaste work. How does it behave on Linux?

from prezto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.