diff options
author | Matt Singleton <matt@xcolour.net> | 2021-02-09 19:26:11 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2021-02-09 19:26:11 -0600 |
commit | b9e3d4d14316054a306914e710157d3e03b5aa25 (patch) | |
tree | 5e7ec5aaba7847234000ae6801d23979360db213 /config | |
parent | 472ba71fd7e646ea82a332e0ecbe6a836512f28d (diff) |
refactor zsh
Diffstat (limited to 'config')
-rw-r--r-- | config/zsh/.zshrc | 7 | ||||
-rw-r--r-- | config/zsh/20-appearance.zsh (renamed from config/zsh/appearance.zsh) | 0 | ||||
-rw-r--r-- | config/zsh/30-behavior.zsh (renamed from config/zsh/behavior.zsh) | 0 | ||||
-rw-r--r-- | config/zsh/40-key-bindings.zsh (renamed from config/zsh/key-bindings.zsh) | 0 | ||||
-rw-r--r-- | config/zsh/50-completion.zsh (renamed from config/zsh/completion.zsh) | 0 | ||||
-rw-r--r-- | config/zsh/99-function-overrides.zsh (renamed from config/zsh/function-overrides.zsh) | 0 | ||||
-rw-r--r-- | config/zsh/zshrc | 17 |
7 files changed, 4 insertions, 20 deletions
diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index ee3ebdd..f33ca44 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -1,3 +1,4 @@ -# just a shim to make the real zshrc not hidden -# since zsh doesn't support renaming the config -source "$ZDOTDIR/zshrc" +for f in $ZDOTDIR/*.zsh +do + source "${f}" +done diff --git a/config/zsh/appearance.zsh b/config/zsh/20-appearance.zsh index e7132a8..e7132a8 100644 --- a/config/zsh/appearance.zsh +++ b/config/zsh/20-appearance.zsh diff --git a/config/zsh/behavior.zsh b/config/zsh/30-behavior.zsh index e7e6b81..e7e6b81 100644 --- a/config/zsh/behavior.zsh +++ b/config/zsh/30-behavior.zsh diff --git a/config/zsh/key-bindings.zsh b/config/zsh/40-key-bindings.zsh index 4deac62..4deac62 100644 --- a/config/zsh/key-bindings.zsh +++ b/config/zsh/40-key-bindings.zsh diff --git a/config/zsh/completion.zsh b/config/zsh/50-completion.zsh index 740e9a3..740e9a3 100644 --- a/config/zsh/completion.zsh +++ b/config/zsh/50-completion.zsh diff --git a/config/zsh/function-overrides.zsh b/config/zsh/99-function-overrides.zsh index 8b233e5..8b233e5 100644 --- a/config/zsh/function-overrides.zsh +++ b/config/zsh/99-function-overrides.zsh diff --git a/config/zsh/zshrc b/config/zsh/zshrc deleted file mode 100644 index 16c4bed..0000000 --- a/config/zsh/zshrc +++ /dev/null @@ -1,17 +0,0 @@ -export EDITOR=vim -export LANG=en_US.UTF-8 - -if [ -e "$ZDOTDIR/local.zsh" ]; then - source "$ZDOTDIR/local.zsh" -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" |