mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
47b0d0c293
Their names are not perfect, so let's keep them as internal functions,
until we figure out how/if we want to expose this.
This reverts 0445126c2
(Undunder __fish_is_nth_token, 2021-06-29) (but I
did it without "git revert").
Closes #8008
4 lines
131 B
Fish
4 lines
131 B
Fish
function __fish_is_token_n --description 'Test if current token is on Nth place' --argument-names n
|
|
__fish_is_nth_token $n
|
|
end
|