From 1e6e6efc76414875aa468e803dcdec518f517ceb Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 23 Mar 2022 01:08:47 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=88=20Changes=20color=20of=20help=20te?= =?UTF-8?q?xt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/transfer.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/transfer.sh b/utils/transfer.sh index 01b8273..2722932 100644 --- a/utils/transfer.sh +++ b/utils/transfer.sh @@ -44,9 +44,11 @@ transfer () { # Shows usage instructions transfer-help () { - echo "Helper script for transfering files via transfer.sh" - echo "Invoke script with file(s) or a directory to upload" - echo -e "E.g.\n $ transfer hello.txt\n $ transfer file1.txt file2.txt file3.txt\n $ transfer my-folder/\n" + welcome_msg="\033[1;33mHelper script for transfering files via transfer.sh\n" + welcome_msg="$welcome_msg\033[0;33mInvoke script with file(s) or a directory to upload\n" + welcome_msg="$welcome_msg\033[1;33mE.g.\033[0;93m\n $ transfer hello.txt\n" + welcome_msg="$welcome_msg $ transfer file1.txt file2.txt file3.txt\n $ transfer my-folder/\n" + echo -e $welcome_msg } # Determine if file is being run directly or sourced