8000 How to load a custom zsh-syntax-hightighing theme? · zimfw zimfw · Discussion #473 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

How to load a custom zsh-syntax-hightighing theme? #473

Closed Answered by ericbn
ubmit asked this question in Q&A
Discussion options

You must be logged in to vote

Let zimfw take care of the theme for you. Add this to your ~/.zimrc:

zmodule catppuccin/zsh-syntax-highlighting --name catppuccin_mocha-zsh-syntax-highlighting --source themes/catppuccin_mocha-zsh-syntax-highlighting.zsh

before this line:

zmodule zsh-users/zsh-syntax-highlighting

The reason I had to set a custom name for the module is that by default the name would be resolved to zsh-syntax-highlighting, which is the same name resolved for zsh-users/zsh-syntax-highlighting.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@ericbn
Comment options

@ubmit
Comment options

@ubmit
Comment options

@ericbn
Comment options

@ubmit
Comment options

Answer selected by ubmit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0