Add zsh configuration

This commit is contained in:
don philipe
2024-02-19 20:56:09 +01:00
parent 17b452a793
commit 6949679bf3
2 changed files with 126 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
# Load version control information
autoload -Uz vcs_info
# Show branch information in brackets
zstyle ':vcs_info:git:*' formats '(%b)'
precmd() { vcs_info }
PROMPT="%B[%{$fg[cyan]%}%n%{$reset_color%}@%{$fg[cyan]%}%m%{$reset_color%}%~]>> "
RPROMPT="%F{yellow}\$vcs_info_msg_0_%f"