summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorArnaud Bailly <arnaud.oqube@gmail.com>2019-09-24 08:59:22 +0200
committerArnaud Bailly <arnaud.oqube@gmail.com>2019-09-24 08:59:22 +0200
commit16480b35a837f254baf875e5e067acfca1560503 (patch)
tree9237020baeb17344989e9f7312f8203e036c6b3c /.bashrc
parentaf7c3461f960abe46e76a2d3462c230f93d12685 (diff)
downloaddotfiles-16480b35a837f254baf875e5e067acfca1560503.tar.gz
added git prompt and completion
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc11
1 files changed, 11 insertions, 0 deletions
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