# Setup environment for Python "pip", if installed
if [ "$(type -t pip 2>/dev/null)" ]; then
export PIP_REQUIRE_VIRTUALENV=true
- export PIP_DOWNLOAD_CACHE="$HOME/.cache/pip"
+ export PIP_DOWNLOAD_CACHE="$XDG_CACHE_HOME/pip"
fi
# Move Xauthority file to local storage, so that sudo et all work