git_prompt_status now compatible with zsh

This commit is contained in:
Loic Nageleisen 2013-12-13 12:05:21 +01:00
parent a29f48070a
commit e1adf97cfe
4 changed files with 17 additions and 11 deletions

7
zsh/rc
View file

@ -13,6 +13,12 @@ source $DOTFILES_ZSH_DIR/completion
source $DOTFILES_ZSH_DIR/prompt
source $DOTFILES_ZSH_DIR/bundler
source $DOTFILES_SHELL_DIR/git_prompt_info
GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWSTASHSTATE=1
GIT_PS1_SHOWUNTRACKEDFILES=1
__git_ps1_vars
precmd() {
LAST_CMD_RC=$?
psvar=()
@ -26,6 +32,7 @@ preexec() {
}
chpwd() {
__git_ps1_vars
#set_term_title
}