summaryrefslogtreecommitdiff
path: root/tools/upgrade.sh
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2020-08-17 21:47:39 +0200
committerMarc Cornellà <marc.cornella@live.com>2020-08-17 21:47:39 +0200
commit613045e7e565a9069568e7f94574701c3d440489 (patch)
tree36bd63e62c082eb46f380719ebac55ed6029eacf /tools/upgrade.sh
parent079e7bb5e0a79171f3356d55d3f6302a82645a39 (diff)
downloadzsh-613045e7e565a9069568e7f94574701c3d440489.tar.gz
zsh-613045e7e565a9069568e7f94574701c3d440489.tar.bz2
zsh-613045e7e565a9069568e7f94574701c3d440489.zip
Underline links in install and update script
Diffstat (limited to 'tools/upgrade.sh')
-rw-r--r--tools/upgrade.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/upgrade.sh b/tools/upgrade.sh
index de7a8419b..a71dec88b 100644
--- a/tools/upgrade.sh
+++ b/tools/upgrade.sh
@@ -14,6 +14,7 @@ if [ -t 1 ]; then
YELLOW=$(printf '\033[33m')
BLUE=$(printf '\033[34m')
BOLD=$(printf '\033[1m')
+ UNDER=$(printf '\033[4m')
RESET=$(printf '\033[m')
else
RB_RED=""
@@ -28,6 +29,7 @@ else
GREEN=""
YELLOW=""
BLUE=""
+ UNDER=""
BOLD=""
RESET=""
fi
@@ -62,9 +64,9 @@ then
printf '%s\____/%s_/ /_/ %s /_/ /_/ /_/%s\__, / %s /___/%s____/%s_/ /_/ %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_BLUE $RB_INDIGO $RB_VIOLET $RB_RESET
printf '%s %s %s %s /____/ %s %s %s %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_BLUE $RB_INDIGO $RB_VIOLET $RB_RESET
printf "${BLUE}%s\n" "Hooray! Oh My Zsh has been updated and/or is at the current version."
- printf "${BLUE}${BOLD}%s${RESET}\n" "To keep up on the latest news and updates, follow us on Twitter: https://twitter.com/ohmyzsh"
- printf "${BLUE}${BOLD}%s${RESET}\n" "Want to get involved in the community? Join our Discord: https://discord.gg/ohmyzsh"
- printf "${BLUE}${BOLD}%s${RESET}\n" "Get your Oh My Zsh swag at: https://shop.planetargon.com/collections/oh-my-zsh"
+ printf "${BLUE}${BOLD}%s ${UNDER}%s${RESET}\n" "To keep up on the latest news and updates, follow us on Twitter:" "https://twitter.com/ohmyzsh"
+ printf "${BLUE}${BOLD}%s ${UNDER}%s${RESET}\n" "Want to get involved in the community? Join our Discord:" "https://discord.gg/ohmyzsh"
+ printf "${BLUE}${BOLD}%s ${UNDER}%s${RESET}\n" "Get your Oh My Zsh swag at:" "https://shop.planetargon.com/collections/oh-my-zsh"
else
printf "${RED}%s${RESET}\n" 'There was an error updating. Try again later?'
fi