From f8f321058593c381db3250f9f02b9d3daec2f7f7 Mon Sep 17 00:00:00 2001 From: Anthony Axenov Date: Thu, 31 Aug 2023 12:46:13 +0800 Subject: [PATCH] helpers misc --- helpers | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers b/helpers index 5dbcbe4..2cb2065 100644 --- a/helpers +++ b/helpers @@ -57,7 +57,7 @@ symlink() { } download() { - require wget 1 + require wget wget "$1" -O "$2" } @@ -167,7 +167,7 @@ print() { debug() { if [ "$2" ]; then - print "${DIM}${BOLD}${RESET}${DIM} ${FUNCNAME[1]:-?}():${BASH_LINENO:-?}\t$1 " + print "${DIM}${BOLD}${RESET}${DIM}${FUNCNAME[1]:-?}():${BASH_LINENO:-?}\t$1 " else print "${DIM}${BOLD}${RESET}${DIM}$1 " fi