aboutsummaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorMatt Singleton <msingleton@aclu.org>2018-09-07 15:04:24 -0400
committerMatt Singleton <msingleton@aclu.org>2018-09-07 15:04:24 -0400
commit8e6456f7258231de651b875686a48f8b8ed5ae92 (patch)
tree73caed988e664c703ef99c7fe51e3a6acefa5824 /zshrc
parentb5460d29e13dbd765b5f9e9dc1466ebeae9bcd86 (diff)
reorder sourcing of various zsh config files
Diffstat (limited to 'zshrc')
-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"