From b9e2ddf538f9b19e445161d3b8d06eba00568a9d Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Fri, 30 Sep 2011 13:57:54 +0300 Subject: [PATCH] zshrc: Do not start tmux at startup of zsh. I have noticed that it can be very annoying. --- zshrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zshrc b/zshrc index a77f77fc..49265049 100644 --- a/zshrc +++ b/zshrc @@ -48,10 +48,10 @@ source ~/.zsh_functions ## DO NOT PUT ANYTHING BELOW THIS LINE OR YOUR CHANGES MAY GET IGNORED BY BASH! sleep 1; -# Gives three seconds time to press CTRL + C in case you want to prevent action by tmux. +# Gives second time to press CTRL + C in case you want to prevent action by tmux. # Starts tmux always on start of bash, not only on SSH login, and quits from bash when tmux quits. WARNING: I DON'T KNOW WHAT HAPPENS IF YOU DON'T HAVE TMUX INSTALLED! (Modified from Cubox's script and William Shallum's tmux on SSH login http://william.shallum.net/random-notes/automatically-start-tmux-on-ssh-login ) -if [[ $TERM != "screen" ]] -then - tmux has-session -t 0 && tmux attach-session -t 0 || tmux new-session -s 0 && exit -fi +#if [[ $TERM != "screen" ]] +#then +# tmux has-session -t 0 && tmux attach-session -t 0 || tmux new-session -s 0 && exit +#fi