Kaynağa Gözat

Update 'README.md'

Pierre-Yves Barriat 7 yıl önce
ebeveyn
işleme
5bfaf3f18b
1 değiştirilmiş dosya ile 1 ekleme ve 6 silme
  1. 1 6
      README.md

+ 1 - 6
README.md

@@ -78,14 +78,9 @@ source ~/git-completion.bash
 In the same time, the following script allows you to see repository status in your prompt. Download it directly from the Git source code at https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh. Copy this file to your home directory, and add this to your ```.bashrc``` file:
  ```
 source ~/git-prompt.sh
+PS1=$PS1'$(__git_ps1 "\[\e[0;32m\](%s) \[\e[0m\]")'
  ```
 
-Finally, change your PS1 to call `__git_ps1` as `command-substitution`:
-
- ```
-PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
-```
-
 
 #### git-config