mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
Wrap suggestion fetch command in parens to actually run in background
This commit is contained in:
parent
50e6832b8c
commit
21d9eda5dd
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ _zsh_autosuggest_async_suggestion_server() {
|
|||
kill -KILL %1 &>/dev/null
|
||||
|
||||
# Run suggestion search in the background
|
||||
echo -n -E "$($strategy "$prefix")"$'\0' &
|
||||
(echo -n -E "$($strategy "$prefix")"$'\0') &
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -506,7 +506,7 @@ _zsh_autosuggest_async_suggestion_server() {
|
|||
kill -KILL %1 &>/dev/null
|
||||
|
||||
# Run suggestion search in the background
|
||||
echo -n -E "$($strategy "$prefix")"$'\0' &
|
||||
(echo -n -E "$($strategy "$prefix")"$'\0') &
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue