mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 06:55:11 +08:00
f4d666f56c
This adds flags --path and --unpath to builtin set, analogous to --export and --unexport. These flags change whether a variable is marked as a path variable. Universal variables cannot yet be path variables.
25 lines
383 B
Plaintext
25 lines
383 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
|
|
|
|
####################
|
|
# Test path variables
|