We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 413ec54 commit 9d1e9beCopy full SHA for 9d1e9be
agkozak-zsh-prompt.plugin.zsh
@@ -1058,7 +1058,7 @@ prompt_agkozak-zsh-prompt_setup() {
1058
(( $+VSCODE_PID )) && ZLE_RPROMPT_INDENT=6
1059
fi
1060
1061
- # For promptinit
+ # For promptinit (introduced in Zsh v5.4)
1062
(( ${+functions[prompt_cleanup]} )) &&
1063
prompt_cleanup _agkozak_prompt_cleanup
1064
@@ -1119,6 +1119,8 @@ agkozak-zsh-prompt_plugin_unload() {
1119
1120
############################################################
1121
# promptinit cleanup function
1122
+#
1123
+# prompt_cleanup was introduced in Zsh v5.4
1124
1125
_agkozak_prompt_cleanup() {
1126
setopt LOCAL_OPTIONS NO_KSH_ARRAYS NO_SH_WORD_SPLIT
0 commit comments