Using tmux locally and SSHing into a remote: Avoiding the 'screen-256color': unknown terminal type.
simply set an alias in your .zshrc/.bashrc:
alias ssh='TERM=xterm ssh'
Written by Ryan Kois
Related protips
2 Responses
Thanks! :D This helped me.
over 1 year ago
·
Also you can set your default value in you're ~/.tmux.conf For example mine is:
set -g default-terminal "xterm"
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#