lib/helpers: fix `_bash-it-component-pluralize()`

pull/2061/head
John D Pell 2022-02-17 20:45:27 -08:00
commit 60c10004d1
1 changed files with 2 additions and 1 deletions

View File

@ -795,7 +795,8 @@ function _disable-thing() {
_bash-it-clean-component-cache "${file_type}"
if [[ "$file_entity" = "all" ]]; then
printf '%s\n' "$file_entity $(_bash-it-pluralize-component "$file_type") disabled."
_bash-it-component-pluralize "$file_type" file_type
printf '%s\n' "$file_entity ${file_type} disabled."
else
printf '%s\n' "$file_entity disabled."
fi