5 scripts

+update colors strings
+update parameter ‘—nodistract’
This commit is contained in:
2021-01-09 15:05:29 +01:00
parent 9d8b924a30
commit a32a0d6ded
5 changed files with 54 additions and 36 deletions

View File

@@ -12,7 +12,7 @@ display_info=true
# No distract mode (no user interaction)
[[ $1 == "--nodistract" ]] && no_distract=true || no_distract=false
[[ $@ =~ "--nodistract" ]] && no_distract=true || no_distract=false
# Set ls_color to '' for output nvm list in default colors, else '--no-colors'
# ls_color='--no-colors'
@@ -125,9 +125,9 @@ elif [ -f "/usr/local/opt/nvm/nvm.sh" ]; then
fi
echo -e "\033[3mNote:"
echo -e "${italic}Note:"
echo -e "N/A: version \"10.18.0 -> N/A\" is not yet installed."
echo -e "You need to run \"nvm install 10.18.0\" to install it before using it.\033[0m"
echo -e "You need to run \"nvm install 10.18.0\" to install it before using it.${reset}"
echo ""