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,9 +23,12 @@ INFOPATH=$HOME/.local/share/info:$INFOPATH
if [ `uname` = Darwin ]; then if [ `uname` = Darwin ]; then
[ -f /usr/local/bin/ccache ] && \ [ -f /usr/local/bin/ccache ] && \
PATH=/usr/local/opt/ccache/libexec:$PATH PATH=/usr/local/opt/ccache/libexec:$PATH
else elif [ -f /usr/bin/ccache ]; then
[ -f /usr/bin/ccache ] && \ if [ -d /usr/lib/ccache/bin ]; then
PATH=/usr/lib/ccache/bin:$PATH
elif [ -d /usr/lib/ccache ]; then
PATH=/usr/lib/ccache:$PATH PATH=/usr/lib/ccache:$PATH
fi
fi fi
# Remove duplicates from environment variables # Remove duplicates from environment variables