Add tmux to zshrc

This commit is contained in:
Bad 2021-04-10 21:12:06 +02:00
parent c14709c941
commit 24f67782ed

View file

@ -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 = ''