renamed dmux script (setup default tmux session) to default-tmux-session

and added an alias `dmux` to .bashrc
This commit is contained in:
zegonix
2024-12-30 16:50:55 +01:00
parent 2db7b76836
commit 599b1dbd17
3 changed files with 30 additions and 12 deletions

View File

@@ -27,7 +27,13 @@ alias dirs='dirs -v'
alias bashsource='source ~/.bashrc'
## short forms for tmux commands
# short forms for tmux commands
## run script to setup default tmux session and then attach the session
## attaching the session needs to be done from the calling shell, otherwise
## the setup script will only terminate after detaching or killing the session
alias dmux='default-tmux-session && tmux attach'
alias tma='tmux attach'
alias tmd='tmux detach -P'