Tmux: re-enable automatic renaming on ssh client exit
This commit is contained in:
		
							parent
							
								
									76e19ab3d7
								
							
						
					
					
						commit
						5d9f52bf8b
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -119,6 +119,7 @@ function ssh() {
 | 
			
		|||
    # Restore the original tmux window title after disconnecting
 | 
			
		||||
    if [ -n "$TMUX" ]; then
 | 
			
		||||
        set_tmux_title "$original_title"
 | 
			
		||||
        tmux set-window-option automatic-rename on
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue