X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/9d7427c964aeb185289b5a7192fecb7e1416e881..80612165af8557e0d1b82b5760a5c9c471d564dc:/.zsh/zshenv/01_path?ds=sidebyside diff --git a/.zsh/zshenv/01_path b/.zsh/zshenv/01_path index 230e94f..f4a248d 100644 --- a/.zsh/zshenv/01_path +++ b/.zsh/zshenv/01_path @@ -10,6 +10,7 @@ __prepend_dir_to_path() { + local dir for dir; do case "$PATH" in "*:${dir}:*"|"${dir}:*"|"*:${dir}") :;; @@ -20,6 +21,7 @@ __prepend_dir_to_path() __append_dir_to_path() { + local dir for dir; do case "$PATH" in "*:${dir}:*"|"${dir}:*"|"*:${dir}") :;;