mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			285 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			285 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #compdef co ci rcs rcsdiff
 | |
| 
 | |
| local ret=1
 | |
| 
 | |
| if [[ -d RCS && $service != ci ]]; then
 | |
|   local rep expl
 | |
| 
 | |
|   rep=(RCS/*,v(D:t:s/\,v//))
 | |
|   (( $#rep )) && _wanted files expl 'RCS file' compadd -a rep && ret=0
 | |
| fi
 | |
| 
 | |
| [[ $service = ci || $service = rcs || ret -eq 1 ]] && _files && ret=0
 | |
| 
 | |
| return ret
 |