Don't unset tmux option when not in tmux
This commit is contained in:
parent
fcae9e885e
commit
47f821e80a
@ -110,7 +110,9 @@ fresh_line_one() {
|
||||
fi
|
||||
|
||||
# Unset vim/tmux navigate flag to handle C-z and multiple vim jobs.
|
||||
tmux set-window-option -u @vim$TMUX_PANE
|
||||
if [[ ! -z "$TMUX" ]]; then
|
||||
tmux set-window-option -u @vim$TMUX_PANE
|
||||
fi
|
||||
|
||||
# If a virtualenv is enabled, display it's basename
|
||||
if [[ ! -z "$VIRTUAL_ENV" ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user