Diff
1diff --git a/tools/install.sh b/tools/install.sh
2index 8a93708ca2879bc7e62c13a874cb3fe933a08017..0fc554786ea7f9038b7f59207eb9c9a5d3a55392 100755
3--- a/tools/install.sh
4+++ b/tools/install.sh
5@@ -53,6 +53,10 @@ error() {
6 echo ${RED}"Error: $@"${RESET} >&2
7 }
8
9+underline() {
10+ echo "$(printf '\033[4m')$@$(printf '\033[24m')"
11+}
12+
13 setup_color() {
14 # Only use colors if connected to a terminal
15 if [ -t 1 ]; then
16@@ -269,11 +273,13 @@ main() {
17 /____/ ....is now installed!
18
19
20+ EOF
21+ cat <<-EOF
22 Before you scream Oh My Zsh! please look over the ~/.zshrc file to select plugins, themes, and options.
23
24- • Follow us on Twitter: https://twitter.com/ohmyzsh
25- • Join our Discord server: https://discord.gg/ohmyzsh
26- • Get stickers, shirts, coffee mugs and other swag: https://shop.planetargon.com/collections/oh-my-zsh
27+ • Follow us on Twitter: $(underline https://twitter.com/ohmyzsh)
28+ • Join our Discord server: $(underline https://discord.gg/ohmyzsh)
29+ • Get stickers, shirts, coffee mugs and other swag: $(underline https://shop.planetargon.com/collections/oh-my-zsh)
30
31 EOF
32 printf "$RESET"
33diff --git a/tools/upgrade.sh b/tools/upgrade.sh
34index de7a8419bec2ad2ab94f79686a8aa829dd21cab5..a71dec88b5017e1c68c3650fb0097d154bd4ee3c 100644
35--- a/tools/upgrade.sh
36+++ b/tools/upgrade.sh
37@@ -14,6 +14,7 @@ if [ -t 1 ]; then
38 YELLOW=$(printf '\033[33m')
39 BLUE=$(printf '\033[34m')
40 BOLD=$(printf '\033[1m')
41+ UNDER=$(printf '\033[4m')
42 RESET=$(printf '\033[m')
43 else
44 RB_RED=""
45@@ -28,6 +29,7 @@ else
46 GREEN=""
47 YELLOW=""
48 BLUE=""
49+ UNDER=""
50 BOLD=""
51 RESET=""
52 fi
53@@ -62,9 +64,9 @@ then
54 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
55 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
56 printf "${BLUE}%s\n" "Hooray! Oh My Zsh has been updated and/or is at the current version."
57- printf "${BLUE}${BOLD}%s${RESET}\n" "To keep up on the latest news and updates, follow us on Twitter: https://twitter.com/ohmyzsh"
58- printf "${BLUE}${BOLD}%s${RESET}\n" "Want to get involved in the community? Join our Discord: https://discord.gg/ohmyzsh"
59- printf "${BLUE}${BOLD}%s${RESET}\n" "Get your Oh My Zsh swag at: https://shop.planetargon.com/collections/oh-my-zsh"
60+ 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"
61+ printf "${BLUE}${BOLD}%s ${UNDER}%s${RESET}\n" "Want to get involved in the community? Join our Discord:" "https://discord.gg/ohmyzsh"
62+ printf "${BLUE}${BOLD}%s ${UNDER}%s${RESET}\n" "Get your Oh My Zsh swag at:" "https://shop.planetargon.com/collections/oh-my-zsh"
63 else
64 printf "${RED}%s${RESET}\n" 'There was an error updating. Try again later?'
65 fi