Skip to content

Latest commit

 

History

History
 
 

zsh

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
𝐃𝐚𝐫𝐤 𝐋𝐢𝐠𝐡𝐭
zsh-dark zsh-light

Syntax Highlighting

The syntax highlighting is implemented by zdharma/fast-syntax-highlighting. By using default theme with any terminal emulator color scheme of edge, you can get a edge syntax highlighting theme of zsh.

Prompt

The prompt theme is edge version of pure power, it depends on romkatv/powerlevel10k.

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

# for light version
source /path/to/edge/zsh/.zsh-theme-edge-light

# for dark version
source /path/to/edge/zsh/.zsh-theme-edge-dark

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

zinit light romkatv/powerlevel10k

# for dark version
zinit snippet https://github.com/sainnhe/edge/raw/master/zsh/.zsh-theme-edge-dark

# for light version
zinit snippet https://github.com/sainnhe/edge/raw/master/zsh/.zsh-theme-edge-light

Customization

There are three modes of this prompt theme:

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, edit /path/to/edge/zsh/.zsh-theme-*, and change the value of PURE_POWER_MODE.