mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
bash prompt with segments (on par with zsh)
This commit is contained in:
parent
edd4797006
commit
c29d55e131
7 changed files with 205 additions and 176 deletions
5
bash/rc
5
bash/rc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue