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

This commit is contained in:
John D Pell
2022-02-17 20:45:27 -08:00

View File

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