Added a Bash profile with the git prompt

This commit is contained in:
Louis Lacoste 2022-11-10 17:22:13 +01:00
parent 48fd5258b7
commit c5fd921337

5
.bash_profile Normal file
View file

@ -0,0 +1,5 @@
if [ -f ~/.bashrc ]; then
source ~/.git-prompt.sh
source ~/.bashrc
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$(__git_ps1 " (%s)")\$ '
fi