1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 21:58:00 +00:00

python: Use more apropriate filename for pip completion

This commit is contained in:
Indrajit Raychaudhuri 2018-12-09 17:16:21 -06:00
parent 53286ebbdb
commit e7fea3343f

View File

@ -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])]"