mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-26 23:34:57 +08:00
added zsh theme
This commit is contained in:
parent
67b11d1981
commit
a76c07f709
1 changed files with 16 additions and 0 deletions
16
lena.zsh-theme
Normal file
16
lena.zsh-theme
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Minimal zsh theme
|
||||
# Requires Nerd Fonts for the icons
|
||||
|
||||
# Configuration
|
||||
num_dirs=2 # Use 0 for full path
|
||||
truncated_path="%F{white}%$num_dirs~%f"
|
||||
decoration="%F{red}%F{magenta}%F{cyan}%f"
|
||||
background_jobs="%(1j.%F{green} %f.)"
|
||||
non_zero_return_value="%(0?..%F{yellow} %f)"
|
||||
|
||||
# Left part of prompt
|
||||
PROMPT='$truncated_path $decoration '
|
||||
# Right part of prompt
|
||||
RPROMPT='$background_jobs $non_zero_return_value'
|
||||
# Input in bold
|
||||
zle_highlight=(default:bold)
|
||||
Loading…
Add table
Add a link
Reference in a new issue