Set a default VIM_COLOR and prevent overriding if provided

This commit is contained in:
ViViDboarder 2017-04-21 13:20:23 -07:00
parent 94a3ad358e
commit 0250897a4b
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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