abbr: Don't write an error if erasing nonexisting abbrs

Fixes #7376.
This commit is contained in:
Fabian Homborg
2020-10-04 12:28:12 +02:00
parent 2ab4c10c47
commit 135c5a9746
2 changed files with 0 additions and 2 deletions

View File

@@ -8,7 +8,6 @@ abbr | grep __abbr1
abbr --erase NOT_AN_ABBR
abbr | grep __abbr1
# CHECK: abbr -a -U -- __abbr1 'alpha beta gamma'
# CHECKERR: abbr --erase: No abbreviation named NOT_AN_ABBR
# Adding existing __abbr1 should be idempotent
abbr __abbr1 alpha beta gamma