From 0250897a4b6134375319728a87340e84dee01034 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Fri, 21 Apr 2017 13:20:23 -0700 Subject: [PATCH] Set a default VIM_COLOR and prevent overriding if provided --- assets/default/dotfiles/bash_profile | 3 +++ assets/default/fish/init/paths.fish | 3 +++ 2 files changed, 6 insertions(+) diff --git a/assets/default/dotfiles/bash_profile b/assets/default/dotfiles/bash_profile index f8cf26b..0f2f6c5 100644 --- a/assets/default/dotfiles/bash_profile +++ b/assets/default/dotfiles/bash_profile @@ -69,6 +69,9 @@ export PROMPT_COMMAND='echo -ne "\033]0;${PWD/#$HOME/~}\007"' export CLICOLOR=1 export LSCOLORS=ExFxCxDxBxegedabagacad +# Vim colors +[ -z "$VIM_COLOR" ] && export VIM_COLOR='wombat256mod' + # Set file as having been loaded to avoid looping #IS_BASH_PROFILE_LOADED=true diff --git a/assets/default/fish/init/paths.fish b/assets/default/fish/init/paths.fish index db6efc6..98ac7f8 100644 --- a/assets/default/fish/init/paths.fish +++ b/assets/default/fish/init/paths.fish @@ -55,3 +55,6 @@ set -gx ANT_OPTS "-Xmx2048m -Xms512m" # FZF set -gx FZF_DEFAULT_COMMAND 'ag -g ""' set -gx FZF_CTRL_T_COMMAND "$FZF_DEFAULT_COMMAND \$dir" + +# Vim Colors so that they can be set by env +set -q VIM_COLOR; or set -gx VIM_COLOR wombat256mod