mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Fixed options completion
This commit is contained in:
parent
c6c97ab7bd
commit
3734b1eb4e
4 changed files with 12 additions and 8 deletions
|
|
@ -27,9 +27,9 @@ autosuggest-first-completion() {
|
|||
zsocket $ZLE_AUTOSUGGEST_SOCKET &>/dev/null || return 1
|
||||
local connection=$REPLY
|
||||
local completion
|
||||
print -u $connection $1
|
||||
print -u $connection - $1
|
||||
while read -u $connection completion; do
|
||||
print ${completion}
|
||||
print - ${completion}
|
||||
done
|
||||
# close fd
|
||||
exec {connection}>&-
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue