From dc96452079b75b2b6cc238ea567ec29729d3d277 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 30 Nov 2016 15:57:56 -0800 Subject: [bash] Add alias for tmux. Attach to the current session, and if none exists, create a new one. --- bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/bashrc b/bashrc index 7ce71e9..aeaa580 100755 --- a/bashrc +++ b/bashrc @@ -30,6 +30,7 @@ alias aud="aurora_admin" alias g="git" alias gonest="ssh nest" alias t="time" +alias tm="tmux attach 2>/dev/null || tmux new" # finally, build the path and source a few files __add_to_path_if_exists() { -- cgit 1.4.1