mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 18:10:56 +01:00 
			
		
		
		
	Initial revision
This commit is contained in:
		
							parent
							
								
									e1eeb93345
								
							
						
					
					
						commit
						a9e41e408e
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								Completion/Core/_setup
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								Completion/Core/_setup
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | |||
| #autoload | ||||
| 
 | ||||
| local colors i | ||||
| 
 | ||||
| for i; do | ||||
|   if _style -a "$i" list-colors colors; then | ||||
|     if [[ "$1" = default ]]; then | ||||
|       ZLS_COLORS="${(j.:.)${(@)colors:gs/:/\\\:}}" | ||||
|     else | ||||
|       eval "ZLS_COLORS=\"(${i})\${(j.:(${i}).)\${(@)colors:gs/:/\\\:}}:\${ZLS_COLORS}\"" | ||||
|     fi | ||||
|   fi | ||||
| done | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue