Skip to content

Commit

Permalink
Disable counts in compact example prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
woefe committed Feb 24, 2024
1 parent 7d82f00 commit 0193ade
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ Load this example: `source examples/bashgitprompt.zsh`


### Compact

Compact prompt without counts.

Load this example: `source examples/compact.zsh`

```
..e/hello_world master↑1|●1✚1…2
..space/hello_world master↑|●✚…
```


Expand Down
3 changes: 3 additions & 0 deletions examples/compact.zsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Name: Compact
# Description: Compact prompt without counts.

ZSH_GIT_PROMPT_SHOW_UPSTREAM="no"
ZSH_GIT_PROMPT_SHOW_TRACKING_COUNTS=0
ZSH_GIT_PROMPT_SHOW_LOCAL_COUNTS=0

ZSH_THEME_GIT_PROMPT_PREFIX=" "
ZSH_THEME_GIT_PROMPT_SUFFIX=""
Expand Down

0 comments on commit 0193ade

Please sign in to comment.