Explorar el Código

dont exec tmux when manually invoked

Kevin Heinicke hace 8 años
padre
commit
744aafe530
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      zshrc

+ 1 - 1
zshrc

@@ -5,7 +5,7 @@ source ~/.zsh_local
 # start tmux in a nice way, if available
 t () {
   if command -v tmux>/dev/null; then
-    [[ ! $TERM =~ screen ]] && [ -z $TMUX ] && exec tmux new-session -A -s main
+    [[ ! $TERM =~ screen ]] && [ -z $TMUX ] && tmux new-session -A -s main
   fi
 }