Force 256colors on xterm and rely on that setting for tmux and vim
This commit is contained in:
parent
eaf0c8d00e
commit
90a9ee8804
3 changed files with 6 additions and 2 deletions
1
.aliases
1
.aliases
|
@ -11,5 +11,4 @@ alias gs="git status"
|
||||||
alias l="ls -lvh --color=auto"
|
alias l="ls -lvh --color=auto"
|
||||||
alias s="cd ~/Source"
|
alias s="cd ~/Source"
|
||||||
alias t="tmux"
|
alias t="tmux"
|
||||||
alias tmux="tmux -2"
|
|
||||||
alias v="vim"
|
alias v="vim"
|
||||||
|
|
1
.vimrc
1
.vimrc
|
@ -64,7 +64,6 @@ map <Leader>nc :Nyancat<cr>
|
||||||
set guifont=Ubuntu\ Mono\ 10
|
set guifont=Ubuntu\ Mono\ 10
|
||||||
colorscheme vividchalk
|
colorscheme vividchalk
|
||||||
|
|
||||||
set t_Co=256 " 256 terminal colors
|
|
||||||
set cursorline
|
set cursorline
|
||||||
hi CursorLine cterm=NONE ctermbg=234
|
hi CursorLine cterm=NONE ctermbg=234
|
||||||
highlight StatusLine ctermfg=white ctermbg=236
|
highlight StatusLine ctermfg=white ctermbg=236
|
||||||
|
|
6
.zshrc
6
.zshrc
|
@ -67,6 +67,12 @@ PATH=$PATH:$HOME/bin
|
||||||
|
|
||||||
# Customize to your needs...
|
# Customize to your needs...
|
||||||
|
|
||||||
|
# make 256colors work maybe
|
||||||
|
if [ $TERM="xterm" ]; then
|
||||||
|
export TERM=xterm-256color
|
||||||
|
fi
|
||||||
|
|
||||||
# tmuxinator
|
# tmuxinator
|
||||||
export EDITOR='vim'
|
export EDITOR='vim'
|
||||||
[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator
|
[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue