zsh_tmux: Override aliases.

This commit is contained in:
Mika Suomalainen 2011-10-22 14:47:51 +03:00
parent 00d71b43b9
commit a50e549490
1 changed files with 1 additions and 1 deletions

View File

@ -12,6 +12,6 @@ if [ "$PS1" != "" -a "${STARTED_TMUX:-x}" = x -a "${SSH_TTY:-x}" != x ]
then
STARTED_TMUX=1; export STARTED_TMUX
sleep 1
( (tmux has-session -t 0 && tmux attach-session -t 0) || (tmux new-session -s 0) ) && exit 0
( (\tmux has-session -t 0 && \tmux attach-session -t 0) || (\tmux new-session -s 0) ) && exit 0
echo "tmux failed to start"
fi