.oh-my-zsh.cust/themes/mhoward.zsh-theme

changeset 706
d61b23bfb605
parent 518
b668b49f6153
equal deleted inserted replaced
705:7520062c1461 706:d61b23bfb605
49 zstyle ':vcs_info:*:*' actionformats "%S" "%r/%s/%b %u%c (%a)" 49 zstyle ':vcs_info:*:*' actionformats "%S" "%r/%s/%b %u%c (%a)"
50 zstyle ':vcs_info:*:*' formats "%S" "%r/%s/%b %u%c" 50 zstyle ':vcs_info:*:*' formats "%S" "%r/%s/%b %u%c"
51 zstyle ':vcs_info:*:*' nvcsformats "%~" "" 51 zstyle ':vcs_info:*:*' nvcsformats "%~" ""
52 52
53 # Define prompts. 53 # Define prompts.
54
55 MODE_INDICATOR='[N] '
56
54 PROMPT="%(0?.%{$PROMPT_SUCCESS_COLOR%}.%{$PROMPT_FAILURE_COLOR%})${SSH_TTY:+[%n@%m]}%{$FX[bold]%}%$PROMPT_PATH_MAX_LENGTH<..<"'${vcs_info_msg_0_%%.}'"%<<%(!.$PROMPT_ROOT_END.$PROMPT_DEFAULT_END)%{$FX[no-bold]%}%{$FX[reset]%} " 57 PROMPT="%(0?.%{$PROMPT_SUCCESS_COLOR%}.%{$PROMPT_FAILURE_COLOR%})${SSH_TTY:+[%n@%m]}%{$FX[bold]%}%$PROMPT_PATH_MAX_LENGTH<..<"'${vcs_info_msg_0_%%.}'"%<<%(!.$PROMPT_ROOT_END.$PROMPT_DEFAULT_END)%{$FX[no-bold]%}%{$FX[reset]%} "
55 RPROMPT="%{$PROMPT_VCS_INFO_COLOR%}"'${vcs_info_msg_1_:- }'"%{$FX[reset]%}" 58 RPROMPT='$(vi_mode_prompt_info)'"%{$PROMPT_VCS_INFO_COLOR%}"'${vcs_info_msg_1_:- }'"%{$FX[reset]%}"

mercurial