mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-09 20:02:31 +01:00
zsh_tmux: Override aliases.
This commit is contained in:
parent
00d71b43b9
commit
a50e549490
2
zsh_tmux
2
zsh_tmux
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user