Add Tmux autoconnect
This commit is contained in:
parent
42dbd95d1e
commit
41635acb31
1 changed files with 5 additions and 1 deletions
6
.zshrc
6
.zshrc
|
@ -102,5 +102,9 @@ fi
|
|||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
source .aliases
|
||||
|
||||
# Attach to a tmux session on startup
|
||||
if [ -z "$TMUX" ]; then
|
||||
tmux attach -t default || tmux new -s default
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue