diff --git a/etc/profile.d/help50.sh b/etc/profile.d/help50.sh index 6e801be..04dca38 100644 --- a/etc/profile.d/help50.sh +++ b/etc/profile.d/help50.sh @@ -105,6 +105,9 @@ function _rhetorical() { } # Default helpers +if ! type _helped >/dev/null 2>&1; then + function _helped() { :; } # Silent +fi if ! type _helpful >/dev/null 2>&1; then function _helpful() { @@ -118,9 +121,6 @@ if ! type _helpful >/dev/null 2>&1; then _alert "$output" } fi -if ! type _helped >/dev/null 2>&1; then - function _helped() { :; } # Silent -fi if ! type _helpless >/dev/null 2>&1; then function _helpless() { :; } # Silent fi