Skip to content

Commit 9d1e9be

Browse files
committed
Some notes
1 parent 413ec54 commit 9d1e9be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

agkozak-zsh-prompt.plugin.zsh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ prompt_agkozak-zsh-prompt_setup() {
10581058
(( $+VSCODE_PID )) && ZLE_RPROMPT_INDENT=6
10591059
fi
10601060

1061-
# For promptinit
1061+
# For promptinit (introduced in Zsh v5.4)
10621062
(( ${+functions[prompt_cleanup]} )) &&
10631063
prompt_cleanup _agkozak_prompt_cleanup
10641064

@@ -1119,6 +1119,8 @@ agkozak-zsh-prompt_plugin_unload() {
11191119

11201120
############################################################
11211121
# promptinit cleanup function
1122+
#
1123+
# prompt_cleanup was introduced in Zsh v5.4
11221124
############################################################
11231125
_agkozak_prompt_cleanup() {
11241126
setopt LOCAL_OPTIONS NO_KSH_ARRAYS NO_SH_WORD_SPLIT

0 commit comments

Comments
 (0)