1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-17 10:20:55 +01:00
zsh/Completion/Cvs/_cvs_root
1999-08-26 11:07:42 +00:00

11 lines
196 B
Text

#autoload
if (( ! $+_cvs_roots )); then
if [[ -f ~/.cvspass ]]; then
_cvs_roots=(${${(f)"$(<~/.cvspass)"}%% *})
else
_cvs_roots=()
fi
fi
compadd "$@" $_cvs_roots || _files "$@" -/