Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
agkozak committed Sep 10, 2021
2 parents 072e7a5 + 2bab6f9 commit f9156f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ This prompt has been tested on numerous Linux and BSD distributions, as well as
<details>
<summary>Here are the latest features and updates.</summary>

- v3.10.2
+ The unload function now works without any error messages on ZSH earlier than v5.3.0.
- v3.10.1
+ The prompt now supports `promptinit`'s `prompt_cleanup` function.
- v3.10.0
Expand Down
3 changes: 2 additions & 1 deletion agkozak-zsh-prompt.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,8 @@ agkozak-zsh-prompt_plugin_unload() {
if is-at-least 5.3; then
add-zle-hook-widget -D zle-keymap-select _agkozak_zle-keymap-select
else
zle -D _agkozak_zle-keymap_select
# TODO: Make sure this is the right thing to do.
zle -N zle-keymap-select
fi

for x in ${=AGKOZAK[FUNCTIONS]}; do
Expand Down

0 comments on commit f9156f5

Please sign in to comment.