-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Milestone
Description
~ ··············································································
❯ set -e blah
~ ·········································································· ✘ 4
❯ abbr -e blah
abbr --erase: No abbreviation named blah
~ ·········································································· ✘ 4
❯ Why should abbr -e error on an unknown while set -e (and functions -e, though this has better reason) does not? Granted, the use cases are different. abbr is primarily used from the command line while set is primarily used in functions/scripts. But as stated in the the holy texts—the design docs—uniformity of language is to be praised.
Reactions are currently unavailable