Fixed test for nested tmux over ssh

This commit is contained in:
Christian Baer 2020-07-03 16:41:44 +02:00
parent 89b2ee2405
commit 088dea8fd4

View File

@ -31,7 +31,7 @@ done
)
## If tmux session is nested, source modified config (e.g. for overwriting styles)
if [ -n "$TMUX" ]; then
if [[ "${SSH_CONNECTION}" ]] && [[ "${TMUX}" ]]; then
tmux source-file ~/.tmux.nested.conf
fi