mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	39739: Complete negative integers for -n/-c in the GNU variant. (after 39479)
This commit is contained in:
		
							parent
							
								
									12e862764f
								
							
						
					
					
						commit
						85ffb55e99
					
				
					 3 changed files with 8 additions and 2 deletions
				
			
		|  | @ -32,7 +32,7 @@ case $state in | |||
|     sign='sign:sign:((-\:"print all but the last specified bytes/lines"' | ||||
|     sign+=' +\:"print the first specified bytes/lines (default)"))' | ||||
|     digit='digits:digit:(0 1 2 3 4 5 6 7 8 9)' | ||||
|     if compset -P '[0-9]##'; then | ||||
|     if compset -P '(-|+|)[0-9]##'; then | ||||
|       _alternative $mlt $digit && ret=0 | ||||
|     elif [[ -z $PREFIX ]]; then | ||||
|       _alternative $sign $digit && ret=0 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue