Skip to content

Commit

Permalink
fix: improve style in README
Browse files Browse the repository at this point in the history
  • Loading branch information
telemachus committed Dec 18, 2023
1 parent 5e6e306 commit b8162e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ You can preview your configuration by setting the `ZSH_GIT_PROMPT_THEME_*` varia
Remember to save them in your `.zshrc` after you tweak them to your liking.
The example below shows the defaults. You can change any of these.

```zsh
```bash
# Basics:
## These prefixes will surround the entire prompt.
## Set them to the empty string if you don't want them.
Expand All @@ -162,7 +162,8 @@ ZSH_GIT_PROMPT_THEME_UPSTREAM_MISSING="(no upstream set)"

# Section three:
## State of the repo and tracking status symbols.
## These are as in [`git-prompt.sh`](https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh)
## These are as in `git-prompt.sh`.
## https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh
ZSH_GIT_PROMPT_THEME_STAGED="+"
ZSH_GIT_PROMPT_THEME_UNSTAGED="*"
ZSH_GIT_PROMPT_THEME_UNTRACKED="%%" # Doubled to escape %
Expand Down

0 comments on commit b8162e8

Please sign in to comment.