diff --git a/share/functions/abbr.fish b/share/functions/abbr.fish index 09ad87a12..0ac8b24bd 100644 --- a/share/functions/abbr.fish +++ b/share/functions/abbr.fish @@ -102,7 +102,7 @@ function __fish_abbr_erase --no-scope-shadowing if not set -q $abbr_var_name printf ( _ "%s %s: No abbreviation named %s\n" ) abbr --erase $escaped_name >&2 - return 121 + return 4 # like `set -e doesnt_exist` end set -e $abbr_var_name