]> git.donarmstrong.com Git - zsh.git/blobdiff - .zsh/zprofile/00_path
set paths in zshenv!
[zsh.git] / .zsh / zprofile / 00_path
diff --git a/.zsh/zprofile/00_path b/.zsh/zprofile/00_path
deleted file mode 100644 (file)
index 230e94f..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-# zprofile/00_path
-#
-# Adds custom directories to the $PATH
-#
-# Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
-# Released under the terms of the Artistic Licence 2.0
-#
-# Source repository: http://git.madduck.net/v/etc/zsh.git
-#
-
-__prepend_dir_to_path()
-{
-  for dir; do
-    case "$PATH" in
-      "*:${dir}:*"|"${dir}:*"|"*:${dir}") :;;
-      *) test -d "$dir" && path=("$dir" $path);;
-    esac
-  done
-}
-
-__append_dir_to_path()
-{
-  for dir; do
-    case "$PATH" in
-      "*:${dir}:*"|"${dir}:*"|"*:${dir}") :;;
-      *) test -d "$dir" && path+="$dir";;
-    esac
-  done
-}
-
-__prepend_dir_to_path $BINDIR
-__append_dir_to_path /usr/lib/surfraw
-
-# vim:ft=zsh