lazier git info

This commit is contained in:
Loic Nageleisen 2013-12-13 13:54:31 +01:00
parent 94be104bc9
commit b6c2437ed3
4 changed files with 20 additions and 5 deletions

5
zsh/rc
View file

@ -17,7 +17,6 @@ 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=$?
@ -32,8 +31,8 @@ preexec() {
}
chpwd() {
__git_ps1_vars
#set_term_title
__git_ps1_gitdir
}
chpwd
# vim: ft=zsh