From a16dc2e70d31a02911af8cc54d6ebded0dd0980e Mon Sep 17 00:00:00 2001 From: "David Todd (c0de)" Date: Wed, 16 May 2018 18:31:43 -0500 Subject: [PATCH] Add quick command to connect to tmux This will prefer the named tmux session 'C0DE', so that other tmux sessions can be done normally --- shell/aliases | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/aliases b/shell/aliases index a50f960..2f3d101 100644 --- a/shell/aliases +++ b/shell/aliases @@ -15,6 +15,7 @@ alias webshare='python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"' alias ipa='ip addr|grep inet' alias cls='clear;ls' alias rvi='sudo -E vim' +alias ta='tmux attach -t C0DE || tmux new -s C0DE' # Use `shred` if it exists, or just `rm -P` type "$shred" > /dev/null || alias shred='rm -P'