fish: Invalid index value echo "$foo[d]" ^ fish: Invalid index value echo $foo[d] ^ fish: Invalid index value echo ()[d] ^ fish: $) is not a valid variable in fish. echo $$paren ^