mirror of
https://github.com/rydesun/dotfiles.git
synced 2026-07-16 22:16:11 +08:00
26 lines
716 B
Text
26 lines
716 B
Text
_PROMPT_COLOR_PWD=%{$fg[magenta]%}
|
|
_PROMPT_COLOR_COLLAPSED_PWD=%{$fg[red]%}
|
|
_PROMPT_COLOR_GIT=%{$fg[red]%}
|
|
_PROMPT_COLOR_SSH=%{$bg[red]$fg[black]%}
|
|
|
|
_theme_use_icon() {
|
|
_PROMPT_ERR="%F{#C03C5A}▌%F{reset}"
|
|
_PROMPT_OK="%F{#5DAC81}▌%F{reset}"
|
|
_PROMPT_USER=%{$fg[blue]%}\$%{$reset_color%}
|
|
_PROMPT_ROOT=%{$fg[red]%}#%{$reset_color%}
|
|
_PROMPT_SSH=' '
|
|
_PROMPT_NVIM=' '
|
|
_PROMPT_PYVENV=' '
|
|
_PROMPT_NVM=' '
|
|
}
|
|
|
|
_theme_use_text() {
|
|
_PROMPT_ERR="%{$fg[red]%}▌%{$reset_color%}"
|
|
_PROMPT_OK="%{$fg[green]%}▌%{$reset_color%}"
|
|
_PROMPT_USER=%{$fg_bold[blue]%}\$%{$reset_color%}
|
|
_PROMPT_ROOT=%{$fg_bold[red]%}#%{$reset_color%}
|
|
_PROMPT_SSH=SSH
|
|
_PROMPT_NVIM=Vim
|
|
_PROMPT_PYVENV=Python
|
|
_PROMPT_NVM=Node
|
|
}
|