fix tmux + vim
parent
c980bd28a3
commit
4d11d566f5
1
vimrc
1
vimrc
|
@ -44,7 +44,6 @@ syntax enable
|
||||||
set background=dark
|
set background=dark
|
||||||
colorscheme solarized8
|
colorscheme solarized8
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
set termguicolors
|
|
||||||
|
|
||||||
" Fuzzy Finding
|
" Fuzzy Finding
|
||||||
set path+=**
|
set path+=**
|
||||||
|
|
15
zshrc
15
zshrc
|
@ -1,20 +1,5 @@
|
||||||
### ZSH Config
|
### ZSH Config
|
||||||
|
|
||||||
## Set term for proper colors
|
|
||||||
if [[ -z $TMUX ]]; then
|
|
||||||
if [ -e /usr/share/terminfo/x/xterm-256color ]; then # may be xterm-256 depending on your distro
|
|
||||||
export TERM='xterm-256color'
|
|
||||||
else
|
|
||||||
export TERM='xterm'
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if [ -e /usr/share/terminfo/s/screen.xterm-256color ]; then
|
|
||||||
export TERM='screen-256color'
|
|
||||||
else
|
|
||||||
export TERM='screen'
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
## For local binaries (vim 8)
|
## For local binaries (vim 8)
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue