mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ abbr -e '~__abbr2'
|
||||||
# Ensure we handle leading dashes in abbreviation names properly
|
# Ensure we handle leading dashes in abbreviation names properly
|
||||||
abbr -- '--__abbr3' 'xyz'
|
abbr -- '--__abbr3' 'xyz'
|
||||||
abbr | grep __abbr3
|
abbr | grep __abbr3
|
||||||
abbr -e '--__abbr3'
|
abbr -e -- '--__abbr3'
|
||||||
|
|
||||||
# Ensure we are not recognizing later "=" as separators
|
# Ensure we are not recognizing later "=" as separators
|
||||||
abbr d2 env a=b banana
|
abbr d2 env a=b banana
|
||||||
|
|
Loading…
Reference in a new issue