]> 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 27a6c3ab5e4ea8381d33ee92c4441e6bcc935ba3..d7303d1361aa8965cbefdc93022a4d20539c37c2 100644 (file)
@@ -1,5 +1,4 @@
 # 1_local.plugin.zsh
-# 2015-03-17, alex@barton.de
 
 [ -d "/usr/local/home" -a ! -d "/usr/local/home/$LOGNAME" ] \
        && mkdir "/usr/local/home/$LOGNAME" >/dev/null 2>&1
@@ -11,5 +10,8 @@
 # Setup XDG cache directory
 export XDG_CACHE_HOME="$LOCAL_HOME/.cache"
 
-# Setup environment for ccache, if installed
-type ccache >/dev/null && export CCACHE_DIR="$XDG_CACHE_HOME/ccache"
+# 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