Revert accidentally pushed fork

Revert "README for this fork"

This reverts commit 97db461e7f.

Revert "Allow foo=bar global variable assignments"

This reverts commit 45a2017580.

Revert "Interpret () in command position as subshell"

This reverts commit 0199583435.

Revert "Allow special variables $?,$$,$@,$#"

This reverts commit 4a71ee1288.

Revert "Allow $() in command position"

This reverts commit 4b99fe2288.

Revert "Turn off full LTO"

This reverts commit b1213f1385.

Revert "Back out "bind: Remove "c-" and "a-" shortcut notation""

This reverts commit f43abc42f9.

Revert "Un-hide documentation of non-fish shell builtins"

This reverts commit 485201ba2e.
This commit is contained in:
Fabian Boehm
2025-01-19 18:34:42 +01:00
parent 97db461e7f
commit 494bdfa013
27 changed files with 469 additions and 451 deletions

View File

@@ -85,19 +85,18 @@ complete -C'a=b envxalias '
# CHECK: arg
# Eval invalid grammar to allow fish to parse this file
a=(echo b1)
echo a is $a
# CHECK: a is b1
# FIXME
# : | a=b2
# echo a is $a
# # CHECK: echo a is b2
# TODO(posix_mode)
# not a=b3
# echo a is $a
# # CHECK: echo a is b3
eval 'a=(echo b)'
# CHECKERR: {{.*}}: Unsupported use of '='. In fish, please use 'set a (echo b)'.
# CHECKERR: a=(echo b)
# CHECKERR: ^~~~~~~~~^
eval ': | a=b'
# CHECKERR: {{.*}}: Unsupported use of '='. In fish, please use 'set a b'.
# CHECKERR: : | a=b
# CHECKERR: ^~^
eval 'not a=b'
# CHECKERR: {{.*}}: Unsupported use of '='. In fish, please use 'set a b'.
# CHECKERR: not a=b
# CHECKERR: ^~^
complete -c foo -xa '$a'
a=b complete -C'foo '