From 613045e7e565a9069568e7f94574701c3d440489 Mon Sep 17 00:00:00 2001 From: Marc Cornellà Date: Mon, 17 Aug 2020 21:47:39 +0200 Subject: Underline links in install and update script --- tools/install.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'tools/install.sh') diff --git a/tools/install.sh b/tools/install.sh index 8a93708ca..0fc554786 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -53,6 +53,10 @@ error() { echo ${RED}"Error: $@"${RESET} >&2 } +underline() { + echo "$(printf '\033[4m')$@$(printf '\033[24m')" +} + setup_color() { # Only use colors if connected to a terminal if [ -t 1 ]; then @@ -269,11 +273,13 @@ main() { /____/ ....is now installed! + EOF + cat <<-EOF Before you scream Oh My Zsh! please look over the ~/.zshrc file to select plugins, themes, and options. - • Follow us on Twitter: https://twitter.com/ohmyzsh - • Join our Discord server: https://discord.gg/ohmyzsh - • Get stickers, shirts, coffee mugs and other swag: https://shop.planetargon.com/collections/oh-my-zsh + • Follow us on Twitter: $(underline https://twitter.com/ohmyzsh) + • Join our Discord server: $(underline https://discord.gg/ohmyzsh) + • Get stickers, shirts, coffee mugs and other swag: $(underline https://shop.planetargon.com/collections/oh-my-zsh) EOF printf "$RESET" -- cgit v1.2.3-70-g09d2