mirror of
https://github.com/Lissy93/dotfiles.git
synced 2024-11-21 23:13:09 +01:00
Rebase
This commit is contained in:
parent
9fb1a3a84c
commit
c8cf08e431
@ -71,11 +71,7 @@ print_node_versions () {
|
||||
versions=''
|
||||
get_version () {
|
||||
if hash $1 2> /dev/null || command -v $1 >/dev/null; then
|
||||
<<<<<<< Updated upstream
|
||||
versions="$versions\e[36m\e[1m $2: \033[0m$($1 --version)\n\033[0m"
|
||||
=======
|
||||
versions="$versions\e[36m\e[1m $2: \033[0m$($1 --version)\n"
|
||||
>>>>>>> Stashed changes
|
||||
else
|
||||
versions="$versions\e[33m\e[1m $2: \033[0m\033[3m Not installed\n\033[0m"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user