We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74be214 commit 3405773Copy full SHA for 3405773
extras/django_bash_completion
@@ -61,7 +61,7 @@ unset pythons
61
if command -v whereis &>/dev/null; then
62
python_interpreters=$(whereis python | cut -d " " -f 2-)
63
for python in $python_interpreters; do
64
- pythons="${pythons} ${python##*/}"
+ [[ $python != *-config ]] && pythons="${pythons} ${python##*/}"
65
done
66
unset python_interpreters
67
pythons=$(echo $pythons | tr " " "\n" | sort -u | tr "\n" " ")
0 commit comments