mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-04 12:38:10 +00:00 
			
		
		
		
	Add zsh-syntax-highlighting plugin and update highlight styles in zsh configuration
This commit is contained in:
		
							parent
							
								
									5b301a5c6d
								
							
						
					
					
						commit
						86162eafcf
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -77,7 +77,11 @@ COMPLETION_WAITING_DOTS="true"
 | 
			
		|||
ZOXIDE_CMD_OVERRIDE="cd"
 | 
			
		||||
 | 
			
		||||
# zsh-autosuggestions - https://github.com/zsh-users/zsh-autosuggestions?tab=readme-ov-file#suggestion-highlight-style
 | 
			
		||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#ffaa33,bold"
 | 
			
		||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="bold"
 | 
			
		||||
 | 
			
		||||
# zsh-syntax-highlighting - unknown tokens / errors
 | 
			
		||||
typeset -A ZSH_HIGHLIGHT_STYLES
 | 
			
		||||
ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=black,bg=red,bold'
 | 
			
		||||
 | 
			
		||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
 | 
			
		||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
 | 
			
		||||
| 
						 | 
				
			
			@ -115,6 +119,7 @@ plugins=(
 | 
			
		|||
  zsh-autosuggestions
 | 
			
		||||
  zsh-navigation-tools
 | 
			
		||||
  zsh-ssh
 | 
			
		||||
  zsh-syntax-highlighting
 | 
			
		||||
{%@@ if distro == 'macos' @@%}  # Mac specifics
 | 
			
		||||
  brew
 | 
			
		||||
  iterm2
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue