commit 923f58b94b661482cbd3337f117f3075dec2167b
parent 98faaaefaf8c3b4cf2b8ac596618a279910b5ce6
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 26 Mar 2014 12:31:28 +0100
start tmux on login
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.zshrc b/.zshrc
@@ -40,6 +40,9 @@ function lt() { ls -ltrsa "$@" | tail; }
function psgrep() { ps axuf | grep -v grep | grep "$@" -i --color=auto; }
function fname() { find . -iname "*$@*"; }
+# Start tmux on shell login
+[[ -z "$TMUX" ]] && exec tmux
+
alias svim='sudoedit'
alias gs='git status'
alias ga='git add'