feat: add some ZSH config
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
local return_code="%F{9}%? ↵%{$reset_color%})"
|
||||
local user_host="%B%F{9}%n%F{15}@%F{172}%m%f "
|
||||
local user_symbol='%(!.#.$)'
|
||||
local current_dir="%B%F{2}%1~ %f"
|
||||
local vcs_info=''
|
||||
local venv_prompt=''
|
||||
|
||||
precmd () {
|
||||
vcs_info='git status'
|
||||
}
|
||||
|
||||
|
||||
PS1="╭─${user_host}${current_dir}${vcs_info}${venv_prompt}
|
||||
╰─%B${user_symbol}%b "
|
||||
RPROMPT="%B${return_code}%b"
|
||||
Reference in New Issue
Block a user