Add Bash configuration with Oh My Bash
This commit is contained in:
5
bash/.profile.d/tmux.sh
Executable file
5
bash/.profile.d/tmux.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||
tmux attach-session -t default || tmux new-session -s default
|
||||
fi
|
||||
Reference in New Issue
Block a user