diff options
Diffstat (limited to 'zsh/zshrc')
-rw-r--r-- | zsh/zshrc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -9,7 +9,7 @@ #PROMPT="$PUSER$PATKI$PHOST$PDOPP$PPATH$PCOMM " -PROMPT="%~ %% " +PROMPT="%~%(1v.%F{green}%1v%f.) %% " zstyle ':completion:*' special-dirs true zstyle ':completion:*:*:kill:*' menu yes select @@ -33,6 +33,12 @@ HISTFILE=~/.zsh_history autoload -U compinit; compinit autoload zmv +autoload -Uz vcs_info +precmd() { + psvar=() + vcs_info + [[ -n $vcs_info_msg_0_ ]] && psvar[1]="$vcs_info_msg_0_" +} alias c="clear && fortune" |