bash prompt with segments (on par with zsh)

This commit is contained in:
Loic Nageleisen 2014-03-03 15:19:04 +01:00
parent edd4797006
commit c29d55e131
7 changed files with 205 additions and 176 deletions

View file

@ -11,6 +11,11 @@ source $DOTFILES_BASH_DIR/completion
source $DOTFILES_SHELL_DIR/bundler
source $DOTFILES_SHELL_DIR/go
source $DOTFILES_SHELL_DIR/git_prompt_info
GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWSTASHSTATE=1
GIT_PS1_SHOWUNTRACKEDFILES=1
precmd() {
LAST_CMD_RC=$?
clear_incomplete_line