From 16d437a1992ef2b6b32aa6830804fa7d3f09d23a Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 9 May 2025 15:39:47 +0200 Subject: [PATCH] Update core.func --- misc/core.func | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/misc/core.func b/misc/core.func index 79d7adb..8556acb 100644 --- a/misc/core.func +++ b/misc/core.func @@ -21,7 +21,7 @@ load_functions() { formatting icons default_vars - set_std_mode + silent # add more } @@ -96,17 +96,7 @@ if [ -v VERBOSE ]; then else echo "DEBUG: VERBOSE was not defined, applying default" fi -VERBOSE="${1:-no}" -set_std_mode() { - if [ "$VERBOSE" = "yes" ]; then - STD="" - else - STD="silent" - fi -} - -# Silent execution function silent() { if [ "$VERBOSE" = "no" ]; then "$@" >/dev/null 2>&1 || return 1