Add quick command to connect to tmux

This will prefer the named tmux session 'C0DE', so that other tmux sessions can be done normally
This commit is contained in:
David Todd (c0de) 2018-05-16 18:31:43 -05:00
parent e71b90df58
commit a16dc2e70d

View File

@ -15,6 +15,7 @@ alias webshare='python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"'
alias ipa='ip addr|grep inet' alias ipa='ip addr|grep inet'
alias cls='clear;ls' alias cls='clear;ls'
alias rvi='sudo -E vim' alias rvi='sudo -E vim'
alias ta='tmux attach -t C0DE || tmux new -s C0DE'
# Use `shred` if it exists, or just `rm -P` # Use `shred` if it exists, or just `rm -P`
type "$shred" > /dev/null || alias shred='rm -P' type "$shred" > /dev/null || alias shred='rm -P'