# less(1) filter, if available
type -p lesspipe >/dev/null 2>&1 && eval `lesspipe`
-# Initialize ccache(1), if installed
-if [ -d "/usr/lib/ccache" ]; then
- PATH="/usr/lib/ccache:$PATH"
- # Set the cache directory to local storage, if available
- [ -w "/usr/local/home/$USER" ] \
- && export CCACHE_DIR="/usr/local/home/$USER/.ccache"
-fi
-
# Setup slrn(1) and cleanscore(1), if installed
type -p cleanscore >/dev/null 2>&1
[ $? -eq 0 ] && alias slrn="cleanscore -f ~/.slrnscore && slrn"
fi
# prepend optional directories to PATH ...
path=""
-for d in /Developer/usr/bin /usr/pkg/bin /opt/*/bin; do
+for d in /Developer/usr/bin /usr/pkg/bin /usr/lib/ccache /opt/*/bin; do
[ -d "$d" -o -h "$d" ] && path="$path$d:"
done
[ -n "$path" ] && PATH="$path$PATH"