Fix typo when setting up `autosuggest-clear` widget.
This commit is contained in:
parent
e91db46ce0
commit
f154d25fb3
2
INFO
2
INFO
|
@ -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
|
||||||
|
|
|
@ -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 #
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue