# zprofile/00_path # # Adds custom directories to the $PATH # # Copyright © 1994–2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # # Source repository: http://git.madduck.net/v/etc/zsh.git # for p in $HOME/bin $HOME/.bin; do case "$PATH" in "*:${p}:*"|"${p}:*"|"*:${p}") :;; *) PATH="${p}:$PATH";; esac done for p in /usr/lib/surfraw; do case "$PATH" in "*:${p}:*"|"${p}:*"|"*:${p}") :;; *) PATH="${PATH}:$p";; esac done # vim:ft=zsh