We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c18a57d commit cdf22c0Copy full SHA for cdf22c0
zsh-abbr.zsh
@@ -369,7 +369,7 @@ _zsh_abbr() {
369
util_add $new_abbreviation $expansion
370
erase $current_abbreviation
371
else
372
- util_error " rename: No matching abbreviation $current_abbreviation exists"
+ util_error " rename: No ${type:-regular} ${scope:-user} abbreviation $current_abbreviation exists"
373
fi
374
375
_zsh_abbr_job_pop $job $job_group
@@ -451,7 +451,7 @@ _zsh_abbr() {
451
452
453
if ! (( success )); then
454
- util_error " add: A $type $scope abbreviation $1 already exists"
+ util_error " add: A ${type:-regular} ${scope:-user} abbreviation $abbreviation already exists"
455
456
}
457
0 commit comments