Fish Shell

Array Slicing:

$ set x a b c d     # assign
$ echo $x[2..-1]
b c d
$ echo $x[1..(count $x)]
a b c d