]> git.donarmstrong.com Git - zsh.git/blobdiff - .zsh/zshenv/01_path
abbreviations should be two chars!
[zsh.git] / .zsh / zshenv / 01_path
index 230e94f14aa22f1c71a8d2a40e726644718f596c..e4e81fa40aab1aef75b65071d0f181003182ff59 100644 (file)
@@ -5,11 +5,12 @@
 # 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
+# Source repository: git://git.madduck.net/etc/zsh.git
 #
 
 __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}") :;;