Fix ccache PATH on Manjaro

This commit is contained in:
Kenneth Benzie 2019-10-01 22:50:20 +01:00
parent 9854518c76
commit 4252d06e65

7
zshenv
View File

@ -23,10 +23,13 @@ INFOPATH=$HOME/.local/share/info:$INFOPATH
if [ `uname` = Darwin ]; then
[ -f /usr/local/bin/ccache ] && \
PATH=/usr/local/opt/ccache/libexec:$PATH
else
[ -f /usr/bin/ccache ] && \
elif [ -f /usr/bin/ccache ]; then
if [ -d /usr/lib/ccache/bin ]; then
PATH=/usr/lib/ccache/bin:$PATH
elif [ -d /usr/lib/ccache ]; then
PATH=/usr/lib/ccache:$PATH
fi
fi
# Remove duplicates from environment variables
typeset -U fpath