update config script

This commit is contained in:
David Chen 2020-03-12 05:33:26 +00:00
parent d95a8ae01a
commit d2d925658d
4 changed files with 1 additions and 4 deletions

View file

@ -1 +0,0 @@
export XDG_CONFIG_HOME=$HOME/.config

View file

@ -16,6 +16,7 @@ export RANGER_LOAD_DEFAULT_RC="false"
export EDITOR=nvim
export ZSH_AUTOSUGGEST_USE_ASYNC=1
export ZSH_AUTOSUGGEST_MANUAL_REBIND=1
export XDG_CONFIG_HOME=$HOME/.config
# fzf
export FZF_DEFAULT_OPTS='--bind ctrl-e:down,ctrl-u:up --preview "[[ $(file --mime {}) =~ binary ]] && echo {} is a binary file || (ccat --color=always {} || highlight -O ansi -l {} || cat {}) 2> /dev/null | head -500"'

View file

@ -1,12 +1,9 @@
source ~/.config/zsh/env.zsh
source ~/.config/zsh/_env.zsh
source ~/.config/zsh/aliases.zsh
source ~/.config/zsh/plugins.zsh
source ~/.config/zsh/vi.zsh
source ~/.config/zsh/fzf.zsh
if [ -f ~/.sconfig/zsh/zshrc ]; then
source ~/.sconfig/zsh/zshrc
fi