mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01:00
users/13252 and elsewhere: Frank Terbeck plus tweaks:
add VCS_Info function system
This commit is contained in:
parent
d9f1432e07
commit
23f2b4503c
41 changed files with 1119 additions and 3 deletions
11
Functions/VCS_Info/Backends/VCS_INFO_detect_cvs
Normal file
11
Functions/VCS_Info/Backends/VCS_INFO_detect_cvs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
## vim:ft=zsh
|
||||
## cvs support by: Frank Terbeck <ft@bewatermyfriend.org>
|
||||
## Distributed under the same BSD-ish license as zsh itself.
|
||||
|
||||
setopt localoptions NO_shwordsplit
|
||||
|
||||
[[ $1 == '--flavours' ]] && return 1
|
||||
|
||||
VCS_INFO_check_com svn || return 1
|
||||
[[ -d "./CVS" ]] && [[ -r "./CVS/Repository" ]] && return 0
|
||||
return 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue