fish-shell/share/completions/python3.fish

5 lines
262 B
Fish
Raw Normal View History

2015-07-20 10:33:34 +00:00
complete -c python3 -w python
# Override this to use python2 instead of python
2015-07-30 22:04:39 +00:00
complete -c python3 -s m -d 'Run library module as a script (terminates option list)' -xa '(python3 -c "import pkgutil; print(\'\n\'.join([p[1] for p in pkgutil.iter_modules()]))")'