mirror of
https://github.com/don-philipe/dotfiles.git
synced 2025-11-08 14:47:03 +01:00
Add zsh configuration
This commit is contained in:
8
.zsh-custom/themes/don.zsh-theme
Normal file
8
.zsh-custom/themes/don.zsh-theme
Normal 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"
|
||||
Reference in New Issue
Block a user