From 435dcf55bdbdea3bf6886a742ae4ae32af56ae23 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sat, 8 Aug 2020 12:51:56 +0100 Subject: zsh: Add paths to ${PATH} in profile instead of env --- zsh/env | 9 --------- 1 file changed, 9 deletions(-) (limited to 'zsh/env') 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 -} -- cgit v1.2.3-70-g09d2