Skip to content

ziesazies/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preview

gruvbox-material-dark

Syntax Highlighting

The syntax highlighting is implemented by zdharma-continuum/fast-syntax-highlighting.

The default theme in fast-syntax-highlighting will use the colors of your terminal emulator color scheme to highlight words, so you can set the theme to default and change the terminal emulator color scheme to the corresponding one to get proper syntax highlighting.

Prompt

The prompt theme is based on pure-power which is inspired by pure, it depends on romkatv/powerlevel10k.

To use it, simply source this file in your zshrc after powerlevel10k has been load:

source /path/to/dotfiles/.zsh-theme/<color-scheme>.zsh

Where <color-scheme> is one of the following:

  • gruvbox-material-dark
  • gruvbox-material-light
  • gruvbox-mix-dark
  • everforest-dark
  • everforest-light
  • edge-dark
  • edge-light
  • sonokai
  • sonokai-andromeda
  • sonokai-atlantis
  • sonokai-espresso
  • sonokai-maia
  • sonokai-shusia
  • soft-era

Alternatively, if you are using zinit (formerly known as zplugin, highly recommended), you can install the theme like this:

zinit light romkatv/powerlevel10k
zinit snippet https://github.com/sainnhe/dotfiles/raw/master/.zsh-theme/<color-scheme>.zsh

Customization

There are 3 modes of the prompt themes:

PURE_POWER_MODE=modern    # use nerdfont characters in the prompt
PURE_POWER_MODE=fancy     # use unicode characters in the prompt (default)
PURE_POWER_MODE=portable  # use only ascii characters in the prompt

To switch between them, set this variable Before sourcing the color scheme file in your zshrc.

License

Anti-996 && MIT © sainnhe

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published