python: Use more apropriate filename for pip completion

main
Indrajit Raychaudhuri 6 years ago
parent 53286ebbdb
commit e7fea3343f

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

Loading…
Cancel
Save