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