diff options
author | 2015-07-20 12:33:34 +0200 | |
---|---|---|
committer | 2015-07-20 15:19:03 -0700 | |
commit | f70b1ffbbfb2cf67129eb35408055416c6d9bab5 (patch) | |
tree | 560edc07988c8fa5d3d97f2665405412c44dd80b /share/completions/python2.fish | |
parent | 8a9b7dc63ad6a21c13184332edbec562d322d889 (diff) |
Normalize python* completion
Diffstat (limited to 'share/completions/python2.fish')
-rw-r--r-- | share/completions/python2.fish | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/completions/python2.fish b/share/completions/python2.fish index 223d92d8..3064545a 100644 --- a/share/completions/python2.fish +++ b/share/completions/python2.fish @@ -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//')" |