mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-20 07:35:17 +08:00

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
5 lines
119 B
Fish
5 lines
119 B
Fish
|
|
function __fish_is_first_token -d 'Test if no non-switch argument has been specified yet'
|
|
fish_is_nth_token 1
|
|
end
|