mirror of
https://github.com/jimeh/git-aware-prompt.git
synced 2026-02-18 21:26:39 +00:00
Merge pull request #38 from iegik/patch-1
Wow, it works on Windows too!
This commit is contained in:
@@ -84,6 +84,12 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user