1
0
Fork 0

Pick up /usr/local paths

pull/340/head
huyz 12 years ago
parent ce6b73c241
commit d0901a24f2

@ -114,6 +114,8 @@ for path_dir in \
/brew/bin \ /brew/bin \
/brew/sbin \ /brew/sbin \
/brew/share/npm/bin \ /brew/share/npm/bin \
/usr/local/bin \
/usr/local/sbin \
~/bin \ ~/bin \
; do ; do
[[ -d $path_dir ]] && path=($path_dir $path) [[ -d $path_dir ]] && path=($path_dir $path)
@ -123,6 +125,7 @@ done
for path_dir in \ for path_dir in \
/opt/local/man \ /opt/local/man \
/brew/share/man \ /brew/share/man \
/usr/local/man \
~/man \ ~/man \
; do ; do
[[ -d $path_dir ]] && manpath=($path_dir $manpath) [[ -d $path_dir ]] && manpath=($path_dir $manpath)

Loading…
Cancel
Save