re-factoring into my shell script framework.
shifting away from invoking via curl and using a downloaded zip file or git clone.
This commit is contained in:
4
ProjectCode/legacy/profiled-tmux.sh
Normal file
4
ProjectCode/legacy/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