helpers: Print type when using disable all

pull/1865/head
Noah Gorny 2021-04-06 02:05:46 +03:00
parent 6e03a726a6
commit ffeb770593
1 changed files with 5 additions and 1 deletions

View File

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