summaryrefslogtreecommitdiff
path: root/zsh/env
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2020-08-08 12:51:56 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2020-08-08 12:51:56 +0100
commit435dcf55bdbdea3bf6886a742ae4ae32af56ae23 (patch)
treeedff0cb03d26116e52292093338dc7b88e4f3fc8 /zsh/env
parent42038e777643ef2a37ab4f062b3a26daafa876ea (diff)
zsh: Add paths to ${PATH} in profile instead of env
Diffstat (limited to 'zsh/env')
-rw-r--r--zsh/env9
1 files changed, 0 insertions, 9 deletions
diff --git a/zsh/env b/zsh/env
index 91c4cdb..b2bd2c9 100644
--- a/zsh/env
+++ b/zsh/env
@@ -14,12 +14,3 @@ setopt REMATCH_PCRE
source_if_exists dotfiles-${UNAME}/zsh/env
source_if_exists dotfiles-${DOMAIN}/zsh/env
source_if_exists dotfiles-${HOST}/zsh/env
-
-() {
- local dir
- for dir in ~/{.local/bin,bin} ${GOPATH:-~/go}/bin; do
- if [[ -d ${dir} && ${path[(I)${dir}]} -eq 0 ]]; then
- path=(${dir} ${path})
- fi
- done
-}