update zsh config

This commit is contained in:
Václav Uruba 2022-10-17 10:32:53 +02:00
parent ffe65fe7dc
commit ebcf76bb3a
Signed by: uruba
GPG Key ID: 9D8E987C4B2E1E9C

View File

@ -34,7 +34,7 @@ source $HOME/.config/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighti
source $HOME/.config/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
# tmux
if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ]; then
if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ] && [ -z "${NOTMUX}" ]; then
tmux || tmux >/dev/null 2>&1
fi