]> arthur.barton.de Git - OhMyZshExtensions.git/blobdiff - plugins/1_local/1_local.plugin.zsh
Remove timestamps from files, we are using Git
[OhMyZshExtensions.git] / plugins / 1_local / 1_local.plugin.zsh
index 537f294eadf3b362f163b8a3048bf7a79bb6781c..d7303d1361aa8965cbefdc93022a4d20539c37c2 100644 (file)
@@ -1,5 +1,4 @@
 # 1_local.plugin.zsh
-# 2015-03-27, alex@barton.de
 
 [ -d "/usr/local/home" -a ! -d "/usr/local/home/$LOGNAME" ] \
        && mkdir "/usr/local/home/$LOGNAME" >/dev/null 2>&1
@@ -10,3 +9,9 @@
 
 # Setup XDG cache directory
 export XDG_CACHE_HOME="$LOCAL_HOME/.cache"
+
+# Update PATH to include directories inside of the $HOME directory
+typeset -U path
+for d in ~/bin ~/sbin ~/Applications; do
+       [ -d "$d" ] && path[1,0]="$d"
+done