mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2026-11-30 04:13:10 +01:00
Handle dashes at the beginning of commands
This commit is contained in:
1 parent
48a21bf79e
commit
c9a51e0c4c
4 files changed
+8
-3
No files matched your search
+1
-1
@@ -55,7 +55,7 @@ _zsh_autosuggest_async_response() {
|
||||
local suggestion
|
||||
|
||||
zpty -rt $ZSH_AUTOSUGGEST_ASYNC_PTY_NAME suggestion '*'$'\0' 2>/dev/null
|
||||
zle autosuggest-suggest "${suggestion%%$'\0'##}"
|
||||
zle autosuggest-suggest -- "${suggestion%%$'\0'##}"
|
||||
}
|
||||
|
||||
_zsh_autosuggest_async_pty_create() {
|
||||
|
||||
Reference in new issue
Block a user