From c6fe70f7804a9878ec1013bc342a10f1cb7ecf39 Mon Sep 17 00:00:00 2001 From: "David J. Malan" Date: Sat, 5 Oct 2024 20:12:27 -0400 Subject: [PATCH] WIP --- etc/profile.d/help50.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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