mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-26 14:01:13 -03:00
Undunder __fish_is_nth_token
We keep __fish_is_nth_token for compatibility and edit the implementations of __fish_is_nth_token, __fish_is_first_token and __fish_is_token_n to use fish_is_nth_token
This commit is contained in:
committed by
Fabian Homborg
parent
859edc9c2c
commit
0445126c2e
@@ -13,8 +13,8 @@ complete -c python3 -s v -d "Verbose mode"
|
||||
complete -c python3 -s V -l version -d "Display version and exit"
|
||||
complete -c python3 -s W -x -d "Warning control" -a "ignore default all module once error"
|
||||
complete -c python3 -s x -d 'Skip first line of source, allowing use of non-Unix forms of #!cmd'
|
||||
complete -c python3 -n __fish_is_first_token -k -fa "(__fish_complete_suffix .py)"
|
||||
complete -c python3 -f -n __fish_is_first_token -a - -d 'Read program from stdin'
|
||||
complete -c python3 -n "fish_is_nth_token 1" -k -fa "(__fish_complete_suffix .py)"
|
||||
complete -c python3 -f -n "fish_is_nth_token 1" -a - -d 'Read program from stdin'
|
||||
complete -c python3 -s q -d 'Don\'t print version and copyright messages on interactive startup'
|
||||
complete -c python3 -s X -x -d 'Set implementation-specific option' -a 'faulthandler showrefcount tracemalloc showalloccount importtime dev utf8 pycache_prefex=PATH:'
|
||||
complete -c python3 -s b -d 'Issue warnings for possible misuse of `bytes` with `str`'
|
||||
|
||||
Reference in New Issue
Block a user