Fixed test for nested tmux over ssh
This commit is contained in:
parent
89b2ee2405
commit
088dea8fd4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user