Add tmux to zshrc
This commit is contained in:
parent
c14709c941
commit
24f67782ed
1 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,12 @@
|
|||
];
|
||||
};
|
||||
initExtraFirst = ''
|
||||
if [ -z "$TMUX" ] && [[ $- == *i* ]]
|
||||
then
|
||||
(tmux ls | grep -vq attached && tmux at) || tmux
|
||||
exit
|
||||
fi
|
||||
|
||||
${builtins.readFile ./p10k.zsh.initfirst}
|
||||
'';
|
||||
initExtra = ''
|
||||
|
|
Loading…
Reference in a new issue