2019-04-30 22:46:43 +00:00
|
|
|
# XDG Spec
|
|
|
|
set -gx XDG_CONFIG_HOME "$HOME/.config"
|
|
|
|
set -gx XDG_DATA_HOME "$HOME/.local/share"
|
|
|
|
set -gx XDG_CACHE_HOME "$HOME/.cache"
|
|
|
|
|
2017-07-25 21:03:44 +00:00
|
|
|
# Increase memory sizes for java using Ant
|
|
|
|
set -gx ANT_OPTS "-Xmx2048m -Xms512m"
|
|
|
|
|
|
|
|
# FZF
|
2020-02-20 22:12:29 +00:00
|
|
|
if type -q rg
|
|
|
|
set -gx FZF_DEFAULT_COMMAND 'rg --files'
|
|
|
|
# set -gx FZF_DEFAULT_COMMAND 'rg --files --no-ignore-vcs --hidden'
|
|
|
|
else if type -q ag
|
|
|
|
set -gx FZF_DEFAULT_COMMAND 'ag -g ""'
|
|
|
|
end
|
|
|
|
if [ -n "$FZF_DEFAULT_COMMAND" ]
|
|
|
|
set -gx FZF_CTRL_T_COMMAND "$FZF_DEFAULT_COMMAND \$dir"
|
|
|
|
end
|
2017-07-25 21:03:44 +00:00
|
|
|
|
|
|
|
# Vim Colors so that they can be set by env
|
2017-11-01 01:42:24 +00:00
|
|
|
set -q VIM_COLOR; set -gx VIM_COLOR (eval $HOME/bin/get_vim_colorscheme.sh); or set -gx VIM_COLOR wombat256mod
|