diff options
author | Matt Singleton <msingleton@aclu.org> | 2018-09-07 15:04:24 -0400 |
---|---|---|
committer | Matt Singleton <msingleton@aclu.org> | 2018-09-07 15:04:24 -0400 |
commit | 8e6456f7258231de651b875686a48f8b8ed5ae92 (patch) | |
tree | 73caed988e664c703ef99c7fe51e3a6acefa5824 | |
parent | b5460d29e13dbd765b5f9e9dc1466ebeae9bcd86 (diff) |
reorder sourcing of various zsh config files
-rw-r--r-- | zshrc | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -1,17 +1,17 @@ -for config_file (~/.zsh/*.zsh); do - source $config_file -done - export EDITOR=vim export LANG=en_US.UTF-8 -if [ -e $HOME/.zshrc-local ]; then - source $HOME/.zshrc-local +if [ -e "$HOME/.zshrc-local" ]; then + source "$HOME/.zshrc-local" fi -# run after local because local because user bin should -# take absolute priority -export PATH=$HOME/bin:$PATH +source "$HOME/.zsh/appearance.zsh" +source "$HOME/.zsh/behavior.zsh" +source "$HOME/.zsh/completion.zsh" +source "$HOME/.zsh/key-bindings.zsh" # override builtin functions (preexec, precmd, etc.) -source ~/.zsh/functions.zsh-overrides +source "$HOME/.zsh/functions.zsh-overrides" + +# user bin should take absolute priority +export PATH="$HOME/bin:$PATH" |