From f154d25fb3b734235bff7d508d885e7db851c4ca Mon Sep 17 00:00:00 2001 From: Eric Freese Date: Sun, 7 Feb 2016 08:58:09 -0700 Subject: [PATCH] Fix typo when setting up `autosuggest-clear` widget. --- INFO | 2 +- dist/autosuggestions.zsh | 4 ++-- src/widgets.zsh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/INFO b/INFO index 4ce1b30..32fcaba 100644 --- a/INFO +++ b/INFO @@ -1,3 +1,3 @@ Fish-like fast/unobtrusive autosuggestions for zsh. https://github.com/tarruda/zsh-autosuggestions -v0.1.0 +v0.1.1 diff --git a/dist/autosuggestions.zsh b/dist/autosuggestions.zsh index 13e099f..d81d9e9 100644 --- a/dist/autosuggestions.zsh +++ b/dist/autosuggestions.zsh @@ -1,6 +1,6 @@ # Fish-like fast/unobtrusive autosuggestions for zsh. # https://github.com/tarruda/zsh-autosuggestions -# v0.1.0 +# v0.1.1 # # Copyright (c) 2013 Thiago de Arruda # Copyright (c) 2016 Eric Freese @@ -313,7 +313,7 @@ _zsh_autosuggest_widget_clear() { } zle -N autosuggest-accept _zsh_autosuggest_widget_accept -zle -N autosuggest-clear _zsh_autosuggest_clear +zle -N autosuggest-clear _zsh_autosuggest_widget_clear #------------# # Suggestion # diff --git a/src/widgets.zsh b/src/widgets.zsh index 009e7e2..a03c5a4 100644 --- a/src/widgets.zsh +++ b/src/widgets.zsh @@ -84,4 +84,4 @@ _zsh_autosuggest_widget_clear() { } zle -N autosuggest-accept _zsh_autosuggest_widget_accept -zle -N autosuggest-clear _zsh_autosuggest_clear +zle -N autosuggest-clear _zsh_autosuggest_widget_clear