Skip to content

Commit 0d0bdb9

Browse files
committed
Zenburn custom prompt
1 parent 1f50aa0 commit 0d0bdb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ This prompt has been tested on numerous Linux and BSD distributions, as well as
9494
- There are more `psvar` elements available to custom prompts. See [the new documentation of `psvar` prompt strings](#psvar-index).
9595
- By popular demand, it is now possible to use `AGKOZAK_LEFT_PROMPT_ONLY=1` with `AGKOZAK_MULTILINE=0`, although the two options together may be visually unappealing on a slow system or when working with very large Git repos.
9696
- Asynchronous method improvements: `subst-async` has been tweaked to provide more stability and speed on all systems. `usr1` has been made faster through the elimination of a subshell. It is now the default asynchronous method in all Windows environments.
97-
- I have provided the code for [my own "Zenburn" custom prompt](#my-zenburn-custom-prompt).
97+
- I have provided the code for [my own Zenburn custom prompt](#my-zenburn-custom-prompt).
9898
- v3.5.0 (November 15, 2019)
9999
- The prompt now supports the [zdharma Zsh plugin unload function standard](https://github.com/zdharma/Zsh-100-Commits-Club/blob/master/Zsh-Plugin-Standard.adoc#unload-fun) which is currently implemented by the zplugin framework. When the function `agkozak-zsh-prompt_plugin_unload` is invoked, the state of the shell before agkozak-zsh-prompt was loaded is restored.
100100
- For debugging purposes, `WARN_CREATE_GLOBAL` is now applied to individual functions whether or not debugging mode is enabled. On Zsh v5.4.0+ and when `AGKOZAK_PROMPT_DEBUG` is set to `1`, all functions have `WARN_NESTED_VAR` applied to them.
@@ -633,7 +633,7 @@ AGKOZAK_USER_HOST_DISPLAY=0
633633

634634
![My Zenburn Custom Prompt](img/custom_agkozak_zenburn.png)
635635

636-
One of the reasons that my Zenburn prompt is so long is that it tests first to make sure that the terminal has 256 colors; if not, the default colors of the prompt are used.
636+
My Zenburn prompt tests first to make sure that the terminal has 256 colors; if not, the default colors of the prompt are used.
637637

638638
```sh
639639
# Make sure the zsh/terminfo module is loaded

0 commit comments

Comments
 (0)