PFV Infra 2.0, here we go...
This commit is contained in:
4
profiled-tmux.sh
Normal file
4
profiled-tmux.sh
Normal file
@ -0,0 +1,4 @@
|
||||
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
|
||||
tmux a -t default || exec tmux new -s default && exit;
|
||||
fi
|
||||
|
Reference in New Issue
Block a user