seebi / tmux-colors-solarized

A color theme for the tmux terminal multiplexer using Ethan Schoonover’s Solarized color scheme
http://ethanschoonover.com/solarized
1.09k stars 147 forks source link

Terminal Stays Default Color Except for TMUX Status Bar #20

Closed mjpauly closed 7 years ago

mjpauly commented 7 years ago

The tmux status bar changes to the right color upon installation, however everything else appears the same. Installation with manual concatenation to .tmux.conf and with TPM both fail the same way. Currently using MacOS Terminal and tmux version 2.3.

.bashrc:

if [[ -n ${TMUX} ]]; then
    export TERM='screen-256color'
else
    export TERM='xterm-256color'
fi

.tmux.conf:

set -g default-terminal 'screen-256color'

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
# set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'seebi/tmux-colors-solarized'

set -g @colors-solarized 'dark'

# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

Checking screen from within tmux:

$ echo $TERM
screen-256color

Screenshot: screen shot 2017-04-18 at 5 45 49 pm

mjpauly commented 7 years ago

Found that installing for solarized for macOS terminal resolves everything. https://github.com/tomislav/osx-terminal.app-colors-solarized