mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Added 'function' keyword
This commit is contained in:
parent
b3b34eab49
commit
0c0f3ae9a7
1 changed files with 1 additions and 1 deletions
|
|
@ -568,7 +568,7 @@ _zsh_autosuggest_capture_completion_async() {
|
|||
# https://stackoverflow.com/a/7057118/154703
|
||||
autoload +X _complete
|
||||
functions[_original_complete]=$functions[_complete]
|
||||
_complete () {
|
||||
function _complete () {
|
||||
unset 'compstate[vared]'
|
||||
_original_complete "$@"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue