summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-20 18:51:52 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-20 18:51:52 +0100
commite320bbeda214c6f4f9071e936330c75a3122a311 (patch)
treeeb0f127e7db5da3882be587768ca4143f7fa3a6a
parentca562c5deac5ac40627ce58f690b432a200e7546 (diff)
zsh refactor
-rw-r--r--.config/zsh/exports.zsh4
-rw-r--r--.zshrc8
2 files changed, 7 insertions, 5 deletions
diff --git a/.config/zsh/exports.zsh b/.config/zsh/exports.zsh
index acd817e..cf8fea7 100644
--- a/.config/zsh/exports.zsh
+++ b/.config/zsh/exports.zsh
@@ -32,3 +32,7 @@ eval "$(pyenv init -)"
export PATH="$HOME/.cargo/bin:$PATH"
export GEM_HOME="$HOME/.gem"
+
+# Created by `pipx` on 2021-03-01 21:32:03
+export PATH="$PATH:/home/aktersnurra/.local/bin"
+
diff --git a/.zshrc b/.zshrc
index 207a301..af98c0e 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,9 +1,7 @@
# ZSH config
-[ -f $HOME/.config/zsh/aliases.zsh ] && source $HOME/.config/zsh/aliases.zsh
+# Load plugins first
+[ -f $HOME/.config/zsh/plugins.zsh ] && source $HOME/.config/zsh/plugins.zsh
[ -f $HOME/.config/zsh/exports.zsh ] && source $HOME/.config/zsh/exports.zsh
[ -f $HOME/.config/zsh/functions.zsh ] && source $HOME/.config/zsh/functions.zsh
[ -f $HOME/.config/zsh/keybindings.zsh ] && source $HOME/.config/zsh/keybindings.zsh
-[ -f $HOME/.config/zsh/plugins.zsh ] && source $HOME/.config/zsh/plugins.zsh
-
-# Created by `pipx` on 2021-03-01 21:32:03
-export PATH="$PATH:/home/aktersnurra/.local/bin"
+[ -f $HOME/.config/zsh/aliases.zsh ] && source $HOME/.config/zsh/aliases.zsh