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