aboutsummaryrefslogtreecommitdiff
path: root/config/zsh/zshrc
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2021-02-06 13:39:13 -0600
committerMatt Singleton <matt@xcolour.net>2021-02-06 13:39:13 -0600
commite6a2618400edcddc2a80ef2776871ca01992be03 (patch)
tree72f9572bd8037f8d40abf070fc13c52fec9b5521 /config/zsh/zshrc
parent9ec86efc56ecdbcaf6ee0626f928c16c266cda2c (diff)
big refactor to use XDG base dir spec
Diffstat (limited to 'config/zsh/zshrc')
-rw-r--r--config/zsh/zshrc17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/zsh/zshrc b/config/zsh/zshrc
new file mode 100644
index 0000000..2a0fcf0
--- /dev/null
+++ b/config/zsh/zshrc
@@ -0,0 +1,17 @@
+export EDITOR=vim
+export LANG=en_US.UTF-8
+
+if [ -e "$ZDOTDIR/zshrc-local" ]; then
+ source "$ZDOTDIR/zshrc-local"
+fi
+
+source "$ZDOTDIR/appearance.zsh"
+source "$ZDOTDIR/behavior.zsh"
+source "$ZDOTDIR/completion.zsh"
+source "$ZDOTDIR/key-bindings.zsh"
+
+# override builtin functions (preexec, precmd, etc.)
+source "$ZDOTDIR/function-overrides.zsh"
+
+# user bin should take absolute priority
+export PATH="$HOME/bin:$PATH"