Updated right prompt with exit status code

This commit is contained in:
wujtruj
2013-03-13 11:19:29 +01:00
parent 373edf52b4
commit 771cb49012
2 changed files with 33 additions and 4 deletions

View File

@@ -34,7 +34,22 @@ By default, at the right of the powerline are displayed the date and the time.
If you don't want date or time, you can choose what you want to display:
```
POWERLINE_RIGHT="date replacement"
POWERLINE_RIGHT_B="date replacement"
```
If you want to display date next to time:
```
POWERLINE_RIGHT_A="date"
```
If you want to display exit-code of last command next to time:
```
POWERLINE_RIGHT_A="exit-code"
```
If you want to display date or non-zero-exit-code of last command next to time:
```
POWERLINE_RIGHT_A="mixed"
```
If you don't want to display your username (the green or red (root) colors are still there):