zsh prompt style

This commit is contained in:
Christian Colglazier 2023-11-24 11:00:40 -05:00
parent 1165f2ab93
commit 79b6af74af

7
.zshrc
View File

@ -1,6 +1,13 @@
HISTFILE=~/.zsh_history
HISTSIZE=99999999
SAVEHIST=99999999
autoload -Uz vcs_info
precmd() { vcs_info }
zstyle ':vcs_info:git:*' formats '%b '
setopt PROMPT_SUBST
PROMPT='%F{white}%n% @%m%f %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ '
setopt appendhistory autocd extendedglob nomatch notify
unsetopt beep
bindkey -e