Skip to content

Commit

Permalink
Fix typo in PROMPT example
Browse files Browse the repository at this point in the history
Color was being reset by gitprompt but not when gitprompt didn't
execute
  • Loading branch information
akupila committed May 18, 2018
1 parent 74cdb6c commit 222e2ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ status, for example _(this was used for taking the screenshots in the readme)_:

```
local ret_status="%(?:%{$fg_bold[green]%}›:%{$fg_bold[red]%}›)"
local dir="%{$fg[cyan]%}%3d"
local dir="%{$fg[cyan]%}%3d%{$reset_color%}"
export PROMPT='${ret_status} ${dir} $(gitprompt)'
```

Expand Down

0 comments on commit 222e2ba

Please sign in to comment.