Browse Source

python: Use more apropriate filename for pip completion

master
Indrajit Raychaudhuri 6 years ago
parent
commit
115a442618
  1. 2
      modules/python/init.zsh

2
modules/python/init.zsh

@ -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