1 2 3 4
VCS_INFO_check_com () { #{{{ (( ${+commands[$1]} )) && [[ -x ${commands[$1]} ]] && return 0 return 1 }