Created
October 29, 2014 12:43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/prompt/functions/prompt_peepcode_setup b/modules/prompt/functions/prompt_peepcode_setup | |
index a83710e..74ccd78 100644 | |
--- a/modules/prompt/functions/prompt_peepcode_setup | |
+++ b/modules/prompt/functions/prompt_peepcode_setup | |
@@ -19,6 +19,7 @@ function +vi-git-status() { | |
function prompt_peepcode_precmd { | |
vcs_info | |
+ git-info | |
if (( $+functions[ruby-info] )); then | |
ruby-info | |
@@ -47,14 +48,19 @@ function prompt_peepcode_setup { | |
zstyle ':vcs_info:*' actionformats ' %F{8}%b%f %F{white}%.7i%f +%a%u' | |
zstyle ':vcs_info:git*+set-message:*' hooks git-status | |
+ zstyle ':prezto:module:git:info:branch' format 'branch:%b' | |
+ zstyle ':prezto:module:git:info:keys' format \ | |
+ 'prompt' 'git(%b)' \ | |
+ 'rprompt' '[%R]' | |
+ | |
# Set ruby-info parameters. | |
zstyle ':prezto:module:ruby:info:version' format ' %F{white}%v%f' | |
# Define prompts. | |
PROMPT=" | |
%~ | |
-%(?.%F{green}${1:-☻ }%f.%F{red}${1:-☻ }%f) " | |
-RPROMPT='${ruby_info[version]}${vcs_info_msg_0_}' | |
+%(?.%F{green}${1:-λ }%f.%F{red}${1:-λ }%f) " | |
+RPROMPT='' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment