Tmux with native scrollback

Here is how to get colors working and allow native scrollback in

file: .tmux.conf

Show sort hostname in tab title of tmux. Really helpful trick.

file: .bashrc

By Shishir Sharma

Shishir Sharma is a husband, hacker, biker. Bachelor of electronics & communication engineering by training. He is a visionary, mentor, problem solver, technology enthusiast. He can speak in Javascript, Ruby, Python, PHP; Fluent in C, C++. He is a moderator at LUG-Jaipur. He loves action movies and FPS games.

2 replies on “Tmux with native scrollback”

You should append to the `terminal-overrides` setting, instead of overwriting it:

set -ga terminal-overrides 'xterm*:[email protected]:[email protected]'

See also

Apart from that, I find it better to not have tmux set/overwrite the $TERM, but to massage it in my shell’s config:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.