Added a Bash profile with the git prompt
This commit is contained in:
parent
48fd5258b7
commit
c5fd921337
1 changed files with 5 additions and 0 deletions
5
.bash_profile
Normal file
5
.bash_profile
Normal 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
|
||||
Loading…
Add table
Reference in a new issue