Skip to content

Commit

Permalink
Update wprompt.zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
woefe committed Jan 8, 2023
1 parent 399b690 commit 55f40bd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Load this example: `source examples/bashgitprompt.zsh`

```
~/workspace/hello_world [master ⟳ ↑1|●1✚1…2⚑1]
17:18 $
20:46 $
```


Expand Down Expand Up @@ -101,7 +101,7 @@ Load this example: `source examples/rprompt.zsh`
The wprompt example is similar to the multi-line and Pure examples, but with optional
[vi-mode](https://github.com/woefe/vi-mode.zsh) and the secondary prompt enabled.

- Depends on [Font Awesome](https://fontawesome.com/) for the Python symbol
- Depends on [Font Awesome](https://fontawesome.com/)
- Optionally depends on [vi-mode](https://github.com/woefe/vi-mode.zsh)
- Source this example after fzf and after loading
[vi-mode](https://github.com/woefe/vi-mode.zsh)
Expand All @@ -112,6 +112,6 @@ your shell, because this prompt will always print a newline between prompts.
Load this example: `source examples/wprompt.zsh`

```
┏╸~/workspace/hello_world · ⎇ master↑1 ●1✚1…2
┏╸~/workspace/hello_world · ⎇ master↑1 · ●1✚1…2
┗╸❯❯❯
```
19 changes: 10 additions & 9 deletions examples/wprompt.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# The wprompt example is similar to the multi-line and Pure examples, but with optional
# [vi-mode](https://github.com/woefe/vi-mode.zsh) and the secondary prompt enabled.
#
# - Depends on [Font Awesome](https://fontawesome.com/) for the Python symbol
# - Depends on [Font Awesome](https://fontawesome.com/)
# - Optionally depends on [vi-mode](https://github.com/woefe/vi-mode.zsh)
# - Source this example after fzf and after loading
# [vi-mode](https://github.com/woefe/vi-mode.zsh)
Expand All @@ -13,25 +13,26 @@

ZSH_GIT_PROMPT_FORCE_BLANK=1
ZSH_GIT_PROMPT_ENABLE_SECONDARY=1
ZSH_GIT_PROMPT_SHOW_UPSTREAM="symbol"
ZSH_GIT_PROMPT_SHOW_UPSTREAM="notracking"

ZSH_THEME_GIT_PROMPT_PREFIX=" · "
ZSH_THEME_GIT_PROMPT_SUFFIX=""
ZSH_THEME_GIT_PROMPT_SEPARATOR=" "
ZSH_THEME_GIT_PROMPT_SUFFIX=""
ZSH_THEME_GIT_PROMPT_SEPARATOR=" · "
ZSH_THEME_GIT_PROMPT_BRANCH="⎇ %{$fg_bold[cyan]%}"
ZSH_THEME_GIT_PROMPT_UPSTREAM_SYMBOL="%{$fg_bold[yellow]%}⟳ "
ZSH_THEME_GIT_PROMPT_UPSTREAM_SYMBOL="%{$fg_bold[green]%} "
ZSH_THEME_GIT_PROMPT_UPSTREAM_NO_TRACKING="%{$fg_bold[red]%}!"
ZSH_THEME_GIT_PROMPT_UPSTREAM_PREFIX="%{$fg[red]%}(%{$fg[yellow]%}"
ZSH_THEME_GIT_PROMPT_UPSTREAM_SUFFIX="%{$fg[red]%})"
ZSH_THEME_GIT_PROMPT_DETACHED="@%{$fg_no_bold[cyan]%}"
ZSH_THEME_GIT_PROMPT_BEHIND="%{$fg_no_bold[blue]%}↓"
ZSH_THEME_GIT_PROMPT_AHEAD="%{$fg_no_bold[blue]%}↑"
ZSH_THEME_GIT_PROMPT_BEHIND="%{$fg_no_bold[red]%}↓"
ZSH_THEME_GIT_PROMPT_AHEAD="%{$fg_no_bold[green]%}↑"
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[red]%}✖"
ZSH_THEME_GIT_PROMPT_STAGED="%{$fg[green]%}●"
ZSH_THEME_GIT_PROMPT_UNSTAGED="%{$fg[red]%}✚"
ZSH_THEME_GIT_PROMPT_UNTRACKED=""
ZSH_THEME_GIT_PROMPT_STASHED="%{$fg[blue]%}⚑"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%}"
ZSH_THEME_GIT_PROMPT_TAGS_PREFIX=" · 🏷 "
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%}"
ZSH_THEME_GIT_PROMPT_TAGS_PREFIX=" · "

RPROMPT=''
PROMPT=$'┏╸'
Expand Down

0 comments on commit 55f40bd

Please sign in to comment.