diff --git a/bin/update_config.sh b/bin/update_config similarity index 100% rename from bin/update_config.sh rename to bin/update_config diff --git a/zsh/_env.zsh b/zsh/_env.zsh deleted file mode 100644 index 70cf7e8..0000000 --- a/zsh/_env.zsh +++ /dev/null @@ -1 +0,0 @@ -export XDG_CONFIG_HOME=$HOME/.config diff --git a/zsh/env.zsh b/zsh/env.zsh index 3b9f20e..04554b9 100644 --- a/zsh/env.zsh +++ b/zsh/env.zsh @@ -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"' diff --git a/zsh/zshrc b/zsh/zshrc index 186cd2e..6aaa902 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -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