summaryrefslogtreecommitdiff
path: root/zshfunc/vcs-info/VCS_INFO_check_com
blob: 7895241637e43e7ff1d0f005d22ff50c0717f8e1 (plain)
1
2
3
4
VCS_INFO_check_com () { #{{{
    (( ${+commands[$1]} )) && [[ -x ${commands[$1]} ]] && return 0
    return 1
}