mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 19:31:14 -03:00
Fix builtin $var expansion
A special case added for #1252 needed adjustment. Fixes #5639
This commit is contained in:
@@ -9,6 +9,9 @@ $CMD1
|
||||
set CMD2 echo '(' not expanded again
|
||||
$CMD2
|
||||
|
||||
# Test using variables with the builtin decorator
|
||||
builtin $CMD1
|
||||
|
||||
# Test implicit cd
|
||||
set CMD3 /usr/bin
|
||||
$CMD3 && echo $PWD
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
basic command as variable
|
||||
( not expanded again
|
||||
basic command as variable
|
||||
/usr/bin
|
||||
|
||||
Reference in New Issue
Block a user