mirror of https://github.com/nirenjan/dotfiles.git
				
				
				
			Revert to using 256color mode
It turns out that when tmux was launched with the TERM set to xterm, it was causing tmux colors to go out of whack. This imports the original setting from my previous environment which sets the tmux alias to launch with the TERM set to screen-256color-bcemaster
							parent
							
								
									01434fff9d
								
							
						
					
					
						commit
						64ee88e277
					
				|  | @ -7,8 +7,8 @@ alias gf='git fetch' | |||
| 
 | ||||
| # Tmux aliases | ||||
| # Use this to launch in 16-color mode | ||||
| alias tmux='TERM=xterm-16color tmux -2 -u' | ||||
| alias tmux='TERM=screen-256color-bce tmux -2 -u' | ||||
| # Attach to an existing tmux session | ||||
| alias work='TERM=xterm-16color tmux -2 -u attach -d' | ||||
| alias work='TERM=screen-256color-bce tmux -2 -u attach -d' | ||||
| # Trigger tmux to reopen the socket if it cannot attach | ||||
| alias kick='pkill -USR1 -u $USER tmux' | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ set-option -g prefix C-s | |||
| bind-key C-q send-prefix | ||||
| 
 | ||||
| # Use 16 color mode | ||||
| set-option -g default-terminal "xterm-16color" | ||||
| set-option -g default-terminal "screen-256color-bce" | ||||
| 
 | ||||
| # Set the Esc/Alt disambiguation timeout to 50ms | ||||
| # The default is 500ms, which makes vim kind of painful | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue