mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 18:10:56 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			239 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			239 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #helper
 | |
| 
 | |
| # Utility function for completing files of a given type or any file.
 | |
| # In many cases you will want to call this one instead of __path_files().
 | |
| 
 | |
| local nm=$NMATCHES
 | |
| 
 | |
| __path_files "$@"
 | |
| 
 | |
| [[ $# -ne 0 && -nmatches nm ]] && __path_files
 |