## vim:ft=zsh ## cvs support by: Frank Terbeck ## Distributed under the same BSD-ish license as zsh itself. setopt localoptions NO_shwordsplit [[ $1 == '--flavours' ]] && return 1 VCS_INFO_check_com ${vcs_comm[cmd]} || return 1 [[ -d "./CVS" ]] && [[ -r "./CVS/Repository" ]] || return 1 local cvsbase="." while [[ -d "${cvsbase}/../CVS" ]]; do cvsbase="${cvsbase}/.." done vcs_comm[basedir]=${cvsbase:P} return 0