mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	15866: complete v2 ciphers after -o Ciphers=, protocols after -o Protocol=
This commit is contained in:
		
							parent
							
								
									f81cb06361
								
							
						
					
					
						commit
						ab90a00264
					
				
					 2 changed files with 26 additions and 1 deletions
				
			
		|  | @ -1,3 +1,9 @@ | |||
| 2001-09-25  Clint Adams  <clint@zsh.org> | ||||
| 
 | ||||
| 	* 15866: Completion/Unix/Command/_ssh: | ||||
| 	complete v2 ciphers after -o Ciphers=, | ||||
| 	complete protocol numbers after -o Protocol. | ||||
| 
 | ||||
| 2001-09-24  Bart Schaefer  <schaefer@zsh.org> | ||||
| 
 | ||||
| 	* 15864: Doc/Zsh/params.yo: Document that assignment to TERM | ||||
|  |  | |||
|  | @ -67,6 +67,20 @@ _ssh () { | |||
|           *(#i)(batchmode|compression|fallbacktorsh|forward(agent|x11)|keepalive|passwordauthentication|rhosts(|rsa)authentication|rsaauthentication|usersh|kerberos(authetication|tgtparsing)|useprivileged)*) | ||||
| 	    _wanted values expl 'truth value' compadd yes no && ret=0 | ||||
|             ;; | ||||
|           *(#i)ciphers*) | ||||
|             _values -s , 'encryption cipher' \ | ||||
| 		'aes128-cbc' \ | ||||
| 		'3des-cbc' \ | ||||
| 		'blowfish-cbc' \ | ||||
| 		'cast128-cbc' \ | ||||
| 		'arcfour' \ | ||||
| 		'aes192-cbc' \ | ||||
| 		'aes256-cbc' \ | ||||
| 		'rijndael128-cbc' \ | ||||
| 		'rijndael192-cbc' \ | ||||
| 		'rijndael256-cbc' \ | ||||
| 		'rijndael-cbc@lysator.liu.se' && ret=0 | ||||
|             ;; | ||||
|           *(#i)cipher*) | ||||
| 	    _wanted values expl 'encryption cipher' \ | ||||
|                 compadd idea des 3des blowfish arcfour tss none && ret=0 | ||||
|  | @ -85,6 +99,11 @@ _ssh () { | |||
|           *(#i)(local|remote)forward*) | ||||
|             state=forward | ||||
|             ;; | ||||
|           *(#i)protocol*) | ||||
|             _values -s , 'protocol version' \ | ||||
| 		'1' \ | ||||
| 		'2' && ret=0 | ||||
| 	    ;; | ||||
|           *(#i)proxycommand*) | ||||
|             compset -q | ||||
|             shift 1 words | ||||
|  | @ -109,7 +128,7 @@ _ssh () { | |||
|         else | ||||
|           _wanted values expl 'configure file option' \ | ||||
|               compadd -M 'm:{a-z}={A-Z}' -S '=' - \ | ||||
|                   BatchMode ClearAllForwardings Cipher Compression \ | ||||
|                   BatchMode ClearAllForwardings Cipher Ciphers Compression \ | ||||
|                   CompressionLevel Host ConnectionAttempts EscapeChar \ | ||||
|                   FallBackToRsh ForwardAgent ForwardX11 \ | ||||
|                   GlobalKnownHostsFile HostName IdentityFile KeepAlive \ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue