1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 02:19:25 +00:00

Store cache files in a user-writable location

Fixes #1122
This commit is contained in:
Kaleb Elwert
2017-11-10 11:37:11 -08:00
parent 79927ac73a
commit 948d9b3aa5
4 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@ fi
# Load PIP completion.
if (( $#commands[(i)pip(|[23])] )); then
cache_file="${0:h}/cache.zsh"
cache_file="${TMPDIR:-/tmp}/prezto-python-cache.$UID.zsh"
# Detect and use one available from among 'pip', 'pip2', 'pip3' variants
pip_command="$commands[(i)pip(|[23])]"