mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	zsh: complete all supported git clone parameters for yadm clone
This commit is contained in:
		
							parent
							
								
									f45e66d4da
								
							
						
					
					
						commit
						fb56513d17
					
				| @ -19,10 +19,12 @@ _yadm-clone() { | |||||||
|     _arguments \ |     _arguments \ | ||||||
|         '(--bootstrap --no-bootstrap)--bootstrap[force bootstrap, without prompt]' \ |         '(--bootstrap --no-bootstrap)--bootstrap[force bootstrap, without prompt]' \ | ||||||
|         '(--bootstrap --no-bootstrap)--no-bootstrap[prevent bootstrap, without prompt]' \ |         '(--bootstrap --no-bootstrap)--no-bootstrap[prevent bootstrap, without prompt]' \ | ||||||
|         '-b[branch name]:' \ |  | ||||||
|         '-f[force overwrite of existing repository]' \ |         '-f[force overwrite of existing repository]' \ | ||||||
|         '-w[work tree path]: :_files -/' \ |         '-w[yadm work tree path]: :_files -/' | ||||||
|         '*:' | 
 | ||||||
|  |     local curcontext="${curcontext%:*:*}:git:" | ||||||
|  | 
 | ||||||
|  |     words=("git" "${words[@]}") CURRENT=$((CURRENT + 1)) service=git _git | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _yadm-config() { | _yadm-config() { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user