mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-30 00:03:56 +08:00
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
|
||||||
|
|
4
dist/autosuggestions.zsh
vendored
4
dist/autosuggestions.zsh
vendored
|
@ -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
Block a user