mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-26 15:14:58 +08:00
added zsh theme
Former-commit-id: a76c07f709
Former-commit-id: f2b919e4011976b149dfd3c8c37bffea9b218f50
Former-commit-id: ca862776f867f6b497182edad421fcd4939b642e
Former-commit-id: 02da47119ea7e903cefd0e602c6aafe233a4c5a5
This commit is contained in:
parent
deddf27a48
commit
676d33e755
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