diff options
Diffstat (limited to 'zsh/rc')
| -rw-r--r-- | zsh/rc | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -60,6 +60,18 @@ setopt HIST_REDUCE_BLANKS setopt INC_APPEND_HISTORY setopt SHARE_HISTORY +if [[ ${TERM_PROGRAM} != iTerm.app ]]; then + autoload -Uz vcs_info + + zstyle ':vcs_info:*' enable git + zstyle ':vcs_info:*' formats '[%b]' + + RPROMPT='${vcs_info_msg_0_}' + precmd_functions+=(vcs_info) + + setopt PROMPT_SUBST +fi + source_if_exists dotfiles-${UNAME}/zsh/rc source_if_exists dotfiles-${DOMAIN}/zsh/rc source_if_exists dotfiles-${HOST}/zsh/rc |
