[zsh] Only print tmux sessions for LOGIN shells
While playing around with neovide, I learned that processes can reasonably expect non-login shells to print nothing except commands to execute. This change modifies zshrc to only print tmux sessions (something I only care about when I start a shell myself) in LOGIN shells.
This commit is contained in:
parent
30f5bb7d29
commit
05606d745f
2 changed files with 6 additions and 1 deletions
1
zprofile
1
zprofile
|
@ -3,7 +3,6 @@
|
|||
zsh_init_profile_functions=( \
|
||||
connect_ssh_agent \
|
||||
init_profile_$SYS \
|
||||
list_tmux_sessions \
|
||||
)
|
||||
|
||||
do_init_functions zsh_init_profile_functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue