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 |   fi | ||||||
| 
 | 
 | ||||||
|   # Unset vim/tmux navigate flag to handle C-z and multiple vim jobs. |   # Unset vim/tmux navigate flag to handle C-z and multiple vim jobs. | ||||||
|  |   if [[ ! -z "$TMUX" ]]; then | ||||||
|     tmux set-window-option -u @vim$TMUX_PANE |     tmux set-window-option -u @vim$TMUX_PANE | ||||||
|  |   fi | ||||||
| 
 | 
 | ||||||
|   # If a virtualenv is enabled, display it's basename |   # If a virtualenv is enabled, display it's basename | ||||||
|   if [[ ! -z "$VIRTUAL_ENV" ]]; then |   if [[ ! -z "$VIRTUAL_ENV" ]]; then | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user