completion should be a local var
This commit is contained in:
@@ -111,7 +111,8 @@ _zsh_autosuggest_capture_completion() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_zsh_autosuggest_strategy_completion() {
|
_zsh_autosuggest_strategy_completion() {
|
||||||
typeset -g suggestion completion
|
typeset -g suggestion
|
||||||
|
local completion
|
||||||
|
|
||||||
# Fetch the first completion result
|
# Fetch the first completion result
|
||||||
_zsh_autosuggest_capture_completion "$1"
|
_zsh_autosuggest_capture_completion "$1"
|
||||||
|
|||||||
@@ -610,7 +610,8 @@ _zsh_autosuggest_capture_completion() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_zsh_autosuggest_strategy_completion() {
|
_zsh_autosuggest_strategy_completion() {
|
||||||
typeset -g suggestion completion
|
typeset -g suggestion
|
||||||
|
local completion
|
||||||
|
|
||||||
# Fetch the first completion result
|
# Fetch the first completion result
|
||||||
_zsh_autosuggest_capture_completion "$1"
|
_zsh_autosuggest_capture_completion "$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user