[ADD][ZSH] Launch tmux at launch

This commit is contained in:
Bruno BELANYI 2020-10-14 16:36:33 +02:00
parent 71d16e9fa4
commit 1bf660cedb

View file

@ -119,3 +119,8 @@ source /usr/share/fzf/key-bindings.zsh
# Enable completions for fzf # Enable completions for fzf
source /usr/share/fzf/completion.zsh source /usr/share/fzf/completion.zsh
# Launch tmux with a default session
if [ -z "$TMUX" ]; then
exec tmux new-session -As default
fi