mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 11:23:59 +08:00
d73c487d60
This brings back the %self argument. Like the original %self it only expands if the argument is literally %self.
22 lines
339 B
Plaintext
22 lines
339 B
Plaintext
fish: Invalid index value
|
|
echo "$foo[d]"
|
|
^
|
|
fish: Invalid index value
|
|
echo $foo[d]
|
|
^
|
|
fish: Invalid index value
|
|
echo ()[d]
|
|
^
|
|
|
|
####################
|
|
# Percent self
|
|
|
|
####################
|
|
# Catch your breath
|
|
fish: $) is not a valid variable in fish.
|
|
echo $$paren
|
|
^
|
|
|
|
####################
|
|
# Test tilde expansion
|