Created
December 9, 2019 00:29
-
-
Save wwalker/a07c7cb8d23fee7103521960ca284411 to your computer and use it in GitHub Desktop.
tmux attach behaves differently than tmux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wwalker@polonium:~ ✓ $ echo $TERM | |
xterm-256color | |
wwalker@polonium:~ ✓ $ pgrep tmux | |
wwalker@polonium:~ ✘ $ tmux attach | |
[exited] | |
wwalker@polonium:~ ✓ $ # TERM in tmux was screen | |
wwalker@polonium:~ ✓ $ pgrep tmux | |
wwalker@polonium:~ ✘ $ tmux | |
[exited] | |
wwalker@polonium:~ ✓ $ # TERM in tmux was screen-256color | |
wwalker@polonium:~ ✓ $ grep term .tmux.conf | |
set-option -g xterm-keys on | |
set -g default-terminal "screen-256color" | |
wwalker@polonium:~ ✓ $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment