[ADD][BASH] Launch tmux at launch

This commit is contained in:
Bruno BELANYI 2020-10-14 16:36:42 +02:00
parent 1bf660cedb
commit d4ac0e6f7b
1 changed files with 5 additions and 0 deletions

View File

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