From 69baf99d07e7635394d38a9b7bbd77aeec07fa9f Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Fri, 27 May 2016 10:04:36 -0700 Subject: [PATCH] Set terminal color options on Linux only --- .vim/options.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vim/options.vim b/.vim/options.vim index 8d38c85..420a94d 100644 --- a/.vim/options.vim +++ b/.vim/options.vim @@ -35,7 +35,6 @@ set shortmess+=I set smartcase set smartcase set smarttab -set t_Co=256 set tabstop=4 set ttyfast set wildignore+=*/tmp/* @@ -57,6 +56,10 @@ if has('gui_running') endif endif +if has('unix') + set t_Co=256 +endif + if &shell =~ 'bin/fish' set shell=/bin/sh endif