fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a53db7256
master
1# localization: skip(private) 2function __fish_is_nth_token --description'Test if current token is the Nth (ignoring command and switches/flags)' --argument-names n 3set -l tokens( commandline -pxc) 4set -l tokens( string replace -r --filter'^([^-].*)' '$1' --$tokens ) 5test ( count $tokens ) -eq " $n " 6end