mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 08:58:01 +00:00
865a4647ae
Syntax highlighting for these coming in next commit. Fixes #154
16 lines
252 B
Fish
16 lines
252 B
Fish
# Test that using variables as command names work correctly.
|
|
|
|
$EMPTY_VARIABLE
|
|
"$EMPTY_VARIABLE"
|
|
|
|
set CMD1 echo basic command as variable
|
|
$CMD1
|
|
|
|
set CMD2 echo '(' not expanded again
|
|
$CMD2
|
|
|
|
# Test implicit cd
|
|
set CMD3 /usr/bin
|
|
$CMD3 && echo $PWD
|
|
|
|
exit 0
|