summaryrefslogtreecommitdiff
path: root/zsh/profile
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2021-10-10 12:16:29 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2021-10-10 12:16:29 +0100
commiteebb731590259881c59eaf39a21ad2d026c4b5fc (patch)
treeafe060eb98b3fc40dadf7b496026acf358eefc9a /zsh/profile
parent24c7d8fa8a623ebdd4aa71309a02000262e9a3f0 (diff)
zsh: Configure user-level paths last
Diffstat (limited to 'zsh/profile')
-rw-r--r--zsh/profile8
1 files changed, 4 insertions, 4 deletions
diff --git a/zsh/profile b/zsh/profile
index 1861b82..f15282f 100644
--- a/zsh/profile
+++ b/zsh/profile
@@ -1,12 +1,12 @@
# -*- mode: shell-script -*-
+source_if_exists dotfiles-${UNAME}/zsh/profile
+source_if_exists dotfiles-${DOMAIN}/zsh/profile
+source_if_exists dotfiles-${HOST}/zsh/profile
+
() {
local dir
for dir in ~/{.local/bin,bin} ${GOPATH:-~/go}/bin; do
[[ -d ${dir} ]] && path=(${dir} ${path})
done
}
-
-source_if_exists dotfiles-${UNAME}/zsh/profile
-source_if_exists dotfiles-${DOMAIN}/zsh/profile
-source_if_exists dotfiles-${HOST}/zsh/profile