mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-19 09:51:16 -03:00
Normalize python* completion
This commit is contained in:
committed by
ridiculousfish
parent
8a9b7dc63a
commit
f70b1ffbbf
@@ -1 +1,3 @@
|
||||
__fish_complete_python python2
|
||||
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 "( find /usr/lib/(eval python2 -V 2>| sed 's/ //; s/\..\$//; s/P/p/') \$PYTHONPATH -maxdepth 1 -name '*.py' -printf '%f\n' | sed 's/.py//')"
|
||||
|
||||
Reference in New Issue
Block a user