aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/python3.fish
blob: a90c40a10099d1be06b6cc16c5e91519e81edf06 (plain)
1
2
3
4
complete -c python3 -w python
# Override this to use python2 instead of python
complete -c python3 -s m -d 'Run library module as a script (terminates option list)' -xa "( find /usr/lib/(eval python3 -V 2>| sed 's/ //; s/\..\$//; s/P/p/') \$PYTHONPATH -maxdepth 1 -name '*.py' -printf '%f\n' | sed 's/.py//')"