You've already forked powerlevel10k
							
							
				mirror of
				https://github.com/romkatv/powerlevel10k.git
				synced 2025-10-30 23:17:39 +02:00 
			
		
		
		
	tune dir colors
This commit is contained in:
		| @@ -106,16 +106,18 @@ fi | |||||||
|   # Icon to display when the current directory isn't writable. |   # Icon to display when the current directory isn't writable. | ||||||
|   typeset -g POWERLEVEL9K_DIR_NOT_WRITABLE_VISUAL_IDENTIFIER_EXPANSION='%214F%B!w' |   typeset -g POWERLEVEL9K_DIR_NOT_WRITABLE_VISUAL_IDENTIFIER_EXPANSION='%214F%B!w' | ||||||
|   # Default current directory color. |   # Default current directory color. | ||||||
|   typeset -g POWERLEVEL9K_DIR_FOREGROUND=39 |   typeset -g POWERLEVEL9K_DIR_FOREGROUND=12 | ||||||
|   # If directory is too long, shorten some of its segments to the shortest possible unique |   # If directory is too long, shorten some of its segments to the shortest possible unique | ||||||
|   # prefix. The shortened directory can be tab-completed to the original. |   # prefix. The shortened directory can be tab-completed to the original. | ||||||
|   typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique |   typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique | ||||||
|   # Replace removed segment suffixes with this symbol. |   # Replace removed segment suffixes with this symbol. | ||||||
|   typeset -g POWERLEVEL9K_SHORTEN_DELIMITER= |   typeset -g POWERLEVEL9K_SHORTEN_DELIMITER= | ||||||
|   # Color of the shortened directory segments. |   # Color of the shortened directory segments. | ||||||
|   typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=24 |   typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=23 | ||||||
|   # Display anchor directory segments in bold. Anchor segments are never shortened. The first |   # Color of the anchor directory segments. Anchor segments are never shortened. The first | ||||||
|   # segment is always an anchor. |   # segment is always an anchor. | ||||||
|  |   typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=39 | ||||||
|  |   # Display anchor directory segments in bold. | ||||||
|   typeset -g POWERLEVEL9K_DIR_ANCHOR_BOLD=true |   typeset -g POWERLEVEL9K_DIR_ANCHOR_BOLD=true | ||||||
|   # Don't shorten directories that contain files matching this pattern. They are anchors. |   # Don't shorten directories that contain files matching this pattern. They are anchors. | ||||||
|   typeset -g POWERLEVEL9K_SHORTEN_FOLDER_MARKER='(.shorten_folder_marker|.bzr|CVS|.git|.hg|.svn|.terraform|.citc)' |   typeset -g POWERLEVEL9K_SHORTEN_FOLDER_MARKER='(.shorten_folder_marker|.bzr|CVS|.git|.hg|.svn|.terraform|.citc)' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user