mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-20 22:05:54 +08:00
Bring abbr test in line with new behavior
Previously, `--erase` would not accept any options and wouldn't read "--" as option-separator. Now it does like every other "command", and it could conceivably gain e.g. a "--prefix" option.
This commit is contained in:
parent
dac8483f7e
commit
8b44358c53
@ -30,7 +30,7 @@ abbr -e '~__abbr2'
|
||||
# Ensure we handle leading dashes in abbreviation names properly
|
||||
abbr -- '--__abbr3' 'xyz'
|
||||
abbr | grep __abbr3
|
||||
abbr -e '--__abbr3'
|
||||
abbr -e -- '--__abbr3'
|
||||
|
||||
# Ensure we are not recognizing later "=" as separators
|
||||
abbr d2 env a=b banana
|
||||
|
Loading…
x
Reference in New Issue
Block a user