aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zshrc20
1 files 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"