README: updated
This commit is contained in:
@@ -45,7 +45,7 @@ To enable your `bash` prompt to display repository status, add the following to
|
|||||||
source ~/GitHub/rkiel/git-utilities/dotfiles/git-prompt.sh
|
source ~/GitHub/rkiel/git-utilities/dotfiles/git-prompt.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Here's a sample prompt that includes the current branch (i.e. `__git_ps1`)
|
Here's a sample prompt that includes the current branch (i.e. `$(__git_ps1 " %s")`)
|
||||||
|
|
||||||
```
|
```
|
||||||
export PS1='[\[\e[0;35m\]\u@\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0;32m\]$(__git_ps1 " %s")\[\e[0m\]]\$ '
|
export PS1='[\[\e[0;35m\]\u@\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0;32m\]$(__git_ps1 " %s")\[\e[0m\]]\$ '
|
||||||
|
|||||||
Reference in New Issue
Block a user