From 8e6456f7258231de651b875686a48f8b8ed5ae92 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Fri, 7 Sep 2018 15:04:24 -0400 Subject: reorder sourcing of various zsh config files --- zshrc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/zshrc b/zshrc index b12e67d..6f4e111 100644 --- a/zshrc +++ b/zshrc @@ -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" -- cgit v1.2.3