You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,8 @@ This prompt has been tested on numerous Linux and BSD distributions, as well as
56
56
<details>
57
57
<summary>Here are the latest features and updates.</summary>
58
58
59
+
- v3.10.0
60
+
+ The prompt is now fully compatible with ZSH's `promptinit` function.
59
61
- v3.9.0
60
62
- The characters used to signify path abbreviation with `AGKOZAK_PROMPT_DIRTRIM` (`...` by default) can now be overridden with `AGKOZAK_PROMPT_DIRTRIM_STRING`.
61
63
- v3.8.1 (November 23, 2020)
@@ -125,6 +127,15 @@ And add the following to your `.zshrc` file:
125
127
126
128
source /path/to/agkozak-zsh-prompt.plugin.zsh
127
129
130
+
### For [`promptinit`](https://zsh.sourceforge.io/Doc/Release/User-Contributions.html#Prompt-Themes) users
131
+
132
+
ZSH comes with a built-in way of handling prompts, the `promptinit` function. You can load the agkozak ZSH prompt by running
133
+
134
+
fpath+=( /path/to/agkozak-zsh-prompt ) # The directory where the prompt's
135
+
# files are kept
136
+
autoload promptinit; promptinit
137
+
prompt agkozak-zsh-prompt
138
+
128
139
### For [antigen](https://github.com/zsh-users/antigen) users
129
140
130
141
Add the line
@@ -163,6 +174,14 @@ The prompt now supports `zinit`'s `unload` feature; you may restore the shell to
163
174
164
175
zinit unload agkozak/agkozak-zsh-prompt
165
176
177
+
### For [Znap](https://github.com/marlonrichert/zsh-snap) users
178
+
179
+
Simply put
180
+
181
+
znap prompt agkozak/agkozak-zsh-prompt
182
+
183
+
in your `.zshrc` somewhere after you source `znap.zsh`.
184
+
166
185
### For [zplug](https://github.com/zplug/zplug) users
0 commit comments