1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 07:20:40 +01:00

Underline links in install and update script

This commit is contained in:
Marc Cornellà
2020-08-17 21:47:39 +02:00
parent 079e7bb5e0
commit 613045e7e5
2 changed files with 14 additions and 6 deletions

View File

@@ -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"