mirror of
https://github.com/jimeh/git-aware-prompt.git
synced 2026-02-19 05:36:38 +00:00
Merge pull request #39 from iegik/patch-2
Fix misplaced Windows configuration
This commit is contained in:
11
README.md
11
README.md
@@ -84,18 +84,17 @@ Standard:
|
||||
export PS1="\${debian_chroot:+(\$debian_chroot)}\u@\h:\w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
|
||||
```
|
||||
|
||||
#### Windows
|
||||
|
||||
```bash
|
||||
export PS1="\[\033]0;$MSYSTEM:\w\007\033[32m\]\u@\h:\[\033[33m\w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\033[0m\]\$ "
|
||||
```
|
||||
|
||||
Colorized:
|
||||
|
||||
```bash
|
||||
export PS1="\${debian_chroot:+(\$debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
|
||||
```
|
||||
|
||||
#### Windows
|
||||
|
||||
```bash
|
||||
export PS1="\[\033]0;$MSYSTEM:\w\007\033[32m\]\u@\h:\[\033[33m\w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\033[0m\]\$ "
|
||||
```
|
||||
|
||||
## Updating
|
||||
|
||||
|
||||
Reference in New Issue
Block a user