3 ms·
One thing I found tmux surprising for is how it inherits environment variables from the parent process and then loads the profile on top. This makes the resulti
by zimbatm 10y ago
One thing I found tmux surprising for is how it inherits environment variables from the parent process and then loads the profile on top. This makes the resulting environment unusual.
Instead it should either leave the environment as it, or create clean login shells.
- slgeorge 10y agoI thought the default was to create a login shell? See the "Start a non-login shell" section on the Arch Wiki[0]. I turn that off with the option mentioned there: that way it inherits from my current environment - I probably misunderstand what you mean by "inherit" versus "leave the environment as is". [0] https://wiki.archlinux.org/index.php/tmux https://wiki.archlinux.org/index.php/tmux