mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 21:31:19 +08:00 
			
		
		
		
	themes: fix minor syntax error
This commit is contained in:
		
							parent
							
								
									6ad6fea52a
								
							
						
					
					
						commit
						dbd16000a5
					
				@ -27,7 +27,7 @@ function lstheme {
 | 
				
			|||||||
        # Show themes inside $ZSH_CUSTOM (in any subfolder)
 | 
					        # Show themes inside $ZSH_CUSTOM (in any subfolder)
 | 
				
			||||||
        # Strip $ZSH_CUSTOM/themes/ and $ZSH_CUSTOM/ from the name, so that it matches
 | 
					        # Strip $ZSH_CUSTOM/themes/ and $ZSH_CUSTOM/ from the name, so that it matches
 | 
				
			||||||
        # the value that should be written in $ZSH_THEME to load the theme.
 | 
					        # the value that should be written in $ZSH_THEME to load the theme.
 | 
				
			||||||
        print -l "$ZSH_CUSTOM"/**/*.zsh-theme(.N:r:gs:"$ZSH_CUSTOM"/themes/:::gs:"$ZSH_CUSTOM"/:::) \
 | 
					        print -l "$ZSH_CUSTOM"/**/*.zsh-theme(.N:r:gs:"$ZSH_CUSTOM"/themes/:::gs:"$ZSH_CUSTOM"/:::)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Show themes inside $ZSH, stripping the head of the path.
 | 
					        # Show themes inside $ZSH, stripping the head of the path.
 | 
				
			||||||
        print -l "$ZSH"/themes/*.zsh-theme(.N:t:r)
 | 
					        print -l "$ZSH"/themes/*.zsh-theme(.N:t:r)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user