mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 13:01:21 -03:00
Revert accidentally pushed fork
Revert "README for this fork" This reverts commit97db461e7f. Revert "Allow foo=bar global variable assignments" This reverts commit45a2017580. Revert "Interpret () in command position as subshell" This reverts commit0199583435. Revert "Allow special variables $?,$$,$@,$#" This reverts commit4a71ee1288. Revert "Allow $() in command position" This reverts commit4b99fe2288. Revert "Turn off full LTO" This reverts commitb1213f1385. Revert "Back out "bind: Remove "c-" and "a-" shortcut notation"" This reverts commitf43abc42f9. Revert "Un-hide documentation of non-fish shell builtins" This reverts commit485201ba2e.
This commit is contained in:
@@ -17,6 +17,18 @@ echo 'true | time false' | $fish 2>| string replace -r '(.*)' '<$1>'
|
||||
# CHECK: < ^~~~~~~~~^>
|
||||
|
||||
|
||||
echo '
|
||||
|
||||
FOO=BAR (true one)
|
||||
(true two)
|
||||
|
||||
# more things
|
||||
' | $fish 2>| string replace -r '(.*)' '<$1>'
|
||||
|
||||
# CHECK: <fish: command substitutions not allowed in command position. Try var=(your-cmd) $var ...>
|
||||
# CHECK: <FOO=BAR (true one)>
|
||||
# CHECK: < ^~~~~~~~~^>
|
||||
|
||||
$fish -c 'echo "unfinished "(subshell' 2>| string replace -r '.*' '<$0>'
|
||||
# CHECK: <fish: Unexpected end of string, expecting ')'>
|
||||
# CHECK: <echo "unfinished "(subshell>
|
||||
|
||||
Reference in New Issue
Block a user