]> git.phdru.name Git - dotfiles.git/commitdiff
.bashrc: Remove overlooked unused `$PY_VER`
authorOleg Broytman <phd@phdru.name>
Sat, 8 Oct 2022 19:43:34 +0000 (22:43 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 8 Oct 2022 19:43:34 +0000 (22:43 +0300)
.bashrc

diff --git a/.bashrc b/.bashrc
index 6a4dec4d9e3f80c01631a4adb58fd6216bf33585..13c1e996634c767dd32a8590f094b0c4f9b9970b 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -150,7 +150,7 @@ fi
 
 if type -p pip >/dev/null 2>&1 || type -p pip3 >/dev/null 2>&1; then
     _pip_completion_loader() {
-        eval "`pip$PY_VER completion --bash`"
+        eval "`pip completion --bash`"
         complete -F _pip_completion pip pip2 pip2.7 pip3 pip3.4 pip3.5 pip3.6 pip3.7 pip3.8 pip3.9 pip3.10
         unset _pip_completion_loader
         return 124