mirror of
https://github.com/Lissy93/dotfiles.git
synced 2024-11-22 07:23:10 +01:00
🌈 Changes color of help text
This commit is contained in:
parent
64e127854d
commit
1e6e6efc76
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user