mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-08 08:01:15 -03:00
Use complete --keep-order with __fish_complete_suffix to prioritize files with matching suffixes
Part of #7040
This commit is contained in:
@@ -16,7 +16,7 @@ complete -c python -o vv -d "Even more verbose mode"
|
||||
complete -c python -s V -l version -d "Display version and exit"
|
||||
complete -c python -s W -x -d "Warning control" -a "ignore default all module once error"
|
||||
complete -c python -s x -d 'Skip first line of source, allowing use of non-Unix forms of #!cmd'
|
||||
complete -c python -f -n __fish_is_first_token -a "(__fish_complete_suffix .py)"
|
||||
complete -c python -f -n __fish_is_first_token -k -a "(__fish_complete_suffix .py)"
|
||||
complete -c python -f -n __fish_is_first_token -a - -d 'Read program from stdin'
|
||||
|
||||
# Version-specific completions
|
||||
|
||||
Reference in New Issue
Block a user