mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-16 02:41:13 +00:00
python: Use more apropriate filename for pip completion
This commit is contained in:
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…
Reference in New Issue
Block a user