3 # Adds custom directories to the $PATH
5 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
6 # Released under the terms of the Artistic Licence 2.0
8 # Source repository: http://git.madduck.net/v/etc/zsh.git
11 for p in $HOME/bin $HOME/.bin; do
13 "*:${p}:*"|"${p}:*"|"*:${p}") :;;
14 *) PATH="${p}:$PATH";;
18 for p in /usr/lib/surfraw; do
20 "*:${p}:*"|"${p}:*"|"*:${p}") :;;
21 *) PATH="${PATH}:$p";;