is_command() {
  command -v "$1" >/dev/null
}

if is_command gfind; then
  ls_cmd="$(command -v find) ${DIR_COLORSCRIPTS} -maxdepth 1 -type f"
  ls_cmd_b="$(command -v find) ${DIR_COLORSCRIPTS}/blacklisted -maxdepth 1 -type f"
elif is_command find; then
  ls_cmd="$(command -v find) ${DIR_COLORSCRIPTS} -maxdepth 1 -type f"
  ls_cmd_b="$(command -v find) ${DIR_COLORSCRIPTS}/blacklisted -maxdepth 1 -type f"
else
  ls_cmd="$(command -v ls) ${DIR_COLORSCRIPTS}"
  ls_cmd_b="$(command -v ls) ${DIR_COLORSCRIPTS}/blacklisted"
fi
