#5 play: use same layout as other compdefs
This commit is contained in:
		
							parent
							
								
									5c59e80761
								
							
						
					
					
						commit
						b6a6f585d2
					
				
							
								
								
									
										6
									
								
								_play
								
								
								
								
							
							
						
						
									
										6
									
								
								_play
								
								
								
								
							|  | @ -43,10 +43,12 @@ | ||||||
| # ------------------------------------------------------------------------------ | # ------------------------------------------------------------------------------ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| _play() { | local context curcontext="$curcontext" state line | ||||||
|   local context curcontext="$curcontext" state line ret=1 |  | ||||||
| typeset -A opt_args | typeset -A opt_args | ||||||
| 
 | 
 | ||||||
|  | _play() { | ||||||
|  |   local ret=1 | ||||||
|  | 
 | ||||||
|   _arguments -C \ |   _arguments -C \ | ||||||
|     '1: :_play_cmds' \ |     '1: :_play_cmds' \ | ||||||
|     '*::arg:->args' \ |     '*::arg:->args' \ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue