mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-29 17:25:34 +00:00
zsh prompt style
This commit is contained in:
parent
1165f2ab93
commit
79b6af74af
7
.zshrc
7
.zshrc
@ -1,6 +1,13 @@
|
|||||||
HISTFILE=~/.zsh_history
|
HISTFILE=~/.zsh_history
|
||||||
HISTSIZE=99999999
|
HISTSIZE=99999999
|
||||||
SAVEHIST=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
|
setopt appendhistory autocd extendedglob nomatch notify
|
||||||
unsetopt beep
|
unsetopt beep
|
||||||
bindkey -e
|
bindkey -e
|
||||||
|
Loading…
x
Reference in New Issue
Block a user