Start TMUX automatically with the shell
This commit is contained in:
@@ -102,3 +102,10 @@ set completion-ignore-case On
|
||||
export OFLAGS="--ozone-platform-hint=auto"
|
||||
|
||||
export PATH=$PATH:/home/trude/.local/bin
|
||||
|
||||
if [[ -z $TMUX ]]; then
|
||||
tmux attach
|
||||
if [[ $? == 1 ]]; then
|
||||
tmux new -s main
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user