fix wrong function name in `helpers.bash`

when i tried to install, i got a message `_bash-it-pluralize-component` command not found; after checking `utilities.bash` the correct function name was `_bash-it-component-pluralize`
pull/2058/head
souhaiebtar 2022-01-22 12:33:33 +00:00 committed by GitHub
parent 973a1f9b40
commit a312e5a9b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -814,7 +814,7 @@ _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."
printf '%s\n' "$file_entity $(_bash-it-component-pluralize "$file_type") disabled."
else
printf '%s\n' "$file_entity disabled."
fi