Move 256 colors setting into .tmux.conf.

This commit is contained in:
Gea-Suan Lin
2014-11-05 01:47:41 +08:00
parent d4f8524b89
commit ff565d71a8
2 changed files with 1 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ set-option -g status-bg colour27
set-option -g status-fg white
set-option -g window-status-current-bg colour28
#
set -g default-terminal "screen-256color"
set -g status-interval 1
set -g status-right-length 50
set -g status-right '#(hostname) #[bg=colour21,fg=colour27]#[fg=white] %Y-%m-%d %H:%M:%S'

2
.zshrc
View File

@@ -81,11 +81,9 @@ bindkey "${key[Down]}" history-beginning-search-forward-end
#
if [[ "`uname -s`" == "FreeBSD" || "`uname -s`" == "Darwin" ]]; then
alias "ls=/bin/ls -aFG"
alias "tmux=TERM=xterm-256color /usr/local/bin/tmux"
alias "w=/usr/bin/w -i"
elif [[ "`uname -s`" = "Linux" ]]; then
alias "ls=/bin/ls -aF --color=always"
alias "tmux=TERM=screen-256color /usr/bin/tmux"
else
alias "ls=/bin/ls -aF"
fi