Fix typo when setting up `autosuggest-clear` widget.

This commit is contained in:
Eric Freese 2016-02-07 08:58:09 -07:00
parent e91db46ce0
commit f154d25fb3
3 changed files with 4 additions and 4 deletions

2
INFO
View File

@ -1,3 +1,3 @@
Fish-like fast/unobtrusive autosuggestions for zsh. Fish-like fast/unobtrusive autosuggestions for zsh.
https://github.com/tarruda/zsh-autosuggestions https://github.com/tarruda/zsh-autosuggestions
v0.1.0 v0.1.1

View File

@ -1,6 +1,6 @@
# Fish-like fast/unobtrusive autosuggestions for zsh. # Fish-like fast/unobtrusive autosuggestions for zsh.
# https://github.com/tarruda/zsh-autosuggestions # https://github.com/tarruda/zsh-autosuggestions
# v0.1.0 # v0.1.1
# #
# Copyright (c) 2013 Thiago de Arruda # Copyright (c) 2013 Thiago de Arruda
# Copyright (c) 2016 Eric Freese # Copyright (c) 2016 Eric Freese
@ -313,7 +313,7 @@ _zsh_autosuggest_widget_clear() {
} }
zle -N autosuggest-accept _zsh_autosuggest_widget_accept zle -N autosuggest-accept _zsh_autosuggest_widget_accept
zle -N autosuggest-clear _zsh_autosuggest_clear zle -N autosuggest-clear _zsh_autosuggest_widget_clear
#------------# #------------#
# Suggestion # # Suggestion #

View File

@ -84,4 +84,4 @@ _zsh_autosuggest_widget_clear() {
} }
zle -N autosuggest-accept _zsh_autosuggest_widget_accept zle -N autosuggest-accept _zsh_autosuggest_widget_accept
zle -N autosuggest-clear _zsh_autosuggest_clear zle -N autosuggest-clear _zsh_autosuggest_widget_clear