From 16480b35a837f254baf875e5e067acfca1560503 Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Tue, 24 Sep 2019 08:59:22 +0200 Subject: added git prompt and completion --- .bashrc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .bashrc (limited to '.bashrc') diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..86858b0 --- /dev/null +++ b/.bashrc @@ -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 -- cgit v1.2.3