diff options
| author | Arnaud Bailly <arnaud.oqube@gmail.com> | 2019-09-24 08:59:22 +0200 |
|---|---|---|
| committer | Arnaud Bailly <arnaud.oqube@gmail.com> | 2019-09-24 08:59:22 +0200 |
| commit | 16480b35a837f254baf875e5e067acfca1560503 (patch) | |
| tree | 9237020baeb17344989e9f7312f8203e036c6b3c /.bashrc | |
| parent | af7c3461f960abe46e76a2d3462c230f93d12685 (diff) | |
| download | dotfiles-16480b35a837f254baf875e5e067acfca1560503.tar.gz | |
added git prompt and completion
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +source ~/dotfiles/bash-completion.sh +source ~/dotfiles/git-prompt.sh + +export GIT_PS1_SHOWDIRTYSTATE=1 +export GIT_PS1_SHOWCOLORHINTS=1 +export GIT_PS1_SHOWUNTRACKEDFILES=1 + +export PROMPT_COMMAND=' __git_ps1 "\n[\e[33m\A \e[36m\w\e[m" "\e[33m]\n$ "' + + +[ -f ~/.fzf.bash ] && source ~/.fzf.bash |
