Use vivid if available to manage LS_COLORS
This commit is contained in:
		
							parent
							
								
									8074f6f26b
								
							
						
					
					
						commit
						c1c64a82b5
					
				
							
								
								
									
										9
									
								
								zshrc
								
								
								
								
							
							
						
						
									
										9
									
								
								zshrc
								
								
								
								
							|  | @ -1683,7 +1683,12 @@ case $TERM in | |||
| esac | ||||
| 
 | ||||
| # Gestion de la couleur pour 'ls' (exportation de LS_COLORS) | ||||
| if [ -x /usr/bin/dircolors ] | ||||
| # First, use vivid {{{ | ||||
| if [ $(command -v vivid) ]; then | ||||
| 	export LS_COLORS="$(vivid generate dracula)" | ||||
| # }}} | ||||
| # Second, use dircolors {{{ | ||||
| elif [ -x /usr/bin/dircolors ] | ||||
| then | ||||
|   if [ -r ~/.dir_colors ] | ||||
|   then | ||||
|  | @ -1695,7 +1700,7 @@ then | |||
|     eval "`dircolors`" | ||||
|   fi | ||||
| fi | ||||
| 
 | ||||
| # }}} | ||||
| 
 | ||||
| ####################################### | ||||
| # 3. Comportement ligne de commandes  # | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue