summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/zshrc b/zshrc
index 88ea6ff..bad6c9f 100644
--- a/zshrc
+++ b/zshrc
@@ -128,7 +128,11 @@ typeset -U fpath
path=(
"$HOME/bin"
"$HOME/local/bin"
- /usr/lib/ccache
+)
+if [ -e "$HOME/.ccache" ] || ! [ -L "$HOME/.ccache" ]; then
+ path+=( /usr/lib/ccache )
+fi
+path+=(
/usr/local/bin
/usr/bin
/usr/local/CAME/bin