mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-10 04:12:30 +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
|
then
|
||||||
STARTED_TMUX=1; export STARTED_TMUX
|
STARTED_TMUX=1; export STARTED_TMUX
|
||||||
sleep 1
|
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"
|
echo "tmux failed to start"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user