mirror of
https://github.com/jimeh/git-aware-prompt.git
synced 2026-02-19 13:36:38 +00:00
updated recommende prompt format
This commit is contained in:
@@ -24,7 +24,7 @@ Edit your `~/.profile` or `~/.bash_profile` and add the following to the top:
|
|||||||
|
|
||||||
export DOTBASH=~/.bash
|
export DOTBASH=~/.bash
|
||||||
source $DOTBASH/main.sh
|
source $DOTBASH/main.sh
|
||||||
PS1="\u@\h:\w\[$txtcyn\]\$git_branch\[$txtrst\]\\$ "
|
PS1="\u@\h \w\[$txtcyn\]\$git_branch\[$txtrst\]\\$ "
|
||||||
|
|
||||||
|
|
||||||
## Configuring
|
## Configuring
|
||||||
|
|||||||
@@ -20,4 +20,4 @@ function find_git_branch {
|
|||||||
PROMPT_COMMAND="find_git_branch; $PROMPT_COMMAND"
|
PROMPT_COMMAND="find_git_branch; $PROMPT_COMMAND"
|
||||||
|
|
||||||
# Default Git enabled prompt
|
# Default Git enabled prompt
|
||||||
# PS1="\u@\h:\w\[$txtcyn\]\$git_branch\[$txtrst\]\\$ "
|
# PS1="\u@\h \w\[$txtcyn\]\$git_branch\[$txtrst\]\\$ "
|
||||||
Reference in New Issue
Block a user