mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 05:53:44 +08:00
0445126c2e
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
4 lines
131 B
Fish
4 lines
131 B
Fish
function __fish_is_nth_token --description 'Test if current token is on Nth place' --argument-names n
|
|
fish_is_nth_token $n
|
|
end
|