diff --git a/scripts/utils.sh b/scripts/utils.sh index 36678bb..6d1d3d3 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -70,7 +70,7 @@ function Ask() { function Is_installed() { executable=${@:-"$HOME/.local/bin/colorshell"} - if command -v colorshell || [[ -f $executable ]]; then + if command -v colorshell > /dev/null 2>&1 || [[ -f $executable ]]; then return 0 fi