aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/python2.fish
blob: 4e2fc5f3da5f0e2849c1c39ea5b58f5e23bd9424 (plain)
1
2
3
complete -c python2 -w python
# Override this to use python2 instead of python
complete -c python2 -s m -d 'Run library module as a script (terminates option list)' -xa '(python2 -c "import pkgutil; print(\'\n\'.join([p[1] for p in pkgutil.iter_modules()]))")'