alias tnew='tmux new -s' # new a session
alias tls='tmux ls' # list all sessions
alias topen='tmux a -t' # open one of sessions with session number
alias tlast='tmux a' # resume last used session
alias tkill='tmux kill-session -t' # kill one of sessions with session number
alias tkillall='tmux kill-server' # kill all sessions
Created
November 14, 2019 01:27
-
-
Save TorvaldsDB/ff0f570a7ba860625dae9eb4a7e1c973 to your computer and use it in GitHub Desktop.
tmux alias config in .bashrc OR .bash_profile OR .zshrc to conveniently handle tmux sessions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment