my-fish-script a b c d
Say you want to get the all arguments from the second argument onwards, so b c d
.
In bash you can use shift
to dump the first argument and access the remaining ones with "$@"
.
How would you solve the problem using the fish shell?