mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-28 07:31:14 -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:
@@ -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 '
|
||||
|
||||
Reference in New Issue
Block a user