mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
Allow foo=bar global variable assignments
override fixes
This commit is contained in:
@@ -101,10 +101,10 @@ $fish --no-config .
|
||||
# CHECKERR: error: Unable to read input file: Is a directory
|
||||
# CHECKERR: warning: Error while reading file .
|
||||
|
||||
$fish --no-config -c 'echo notprinted; echo foo; a=b'
|
||||
# CHECKERR: fish: Unsupported use of '='. In fish, please use 'set a b'.
|
||||
# CHECKERR: echo notprinted; echo foo; a=b
|
||||
# CHECKERR: ^~^
|
||||
$fish --no-config -c 'echo notprinted; echo foo; echo $%'
|
||||
# CHECKERR: fish: $% is not a valid variable in fish.
|
||||
# CHECKERR: echo notprinted; echo foo; echo $%
|
||||
# CHECKERR: ^
|
||||
|
||||
$fish --no-config -c 'echo notprinted | and true'
|
||||
# CHECKERR: fish: The 'and' command can not be used in a pipeline
|
||||
|
||||
Reference in New Issue
Block a user