From 41f15d5c9fa303044b351d967d476d9ae7064061 Mon Sep 17 00:00:00 2001 From: Eric Freese Date: Mon, 15 Feb 2016 08:45:52 -0700 Subject: [PATCH] Forgot a pesky backslash --- src/bind.zsh | 2 +- zsh-autosuggestions.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bind.zsh b/src/bind.zsh index 6c6d8f9..757f640 100644 --- a/src/bind.zsh +++ b/src/bind.zsh @@ -38,7 +38,7 @@ _zsh_autosuggest_bind_widget() { # zle without the `-w` flag (e.g. `zle self-insert` instead of # `zle self-insert -w`). eval "_zsh_autosuggest_bound_$widget() { - _zsh_autosuggest_widget_$autosuggest_action $prefix$widget $@ + _zsh_autosuggest_widget_$autosuggest_action $prefix$widget \$@ }" # Create the bound widget diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index edb27e1..01f8c4d 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -140,7 +140,7 @@ _zsh_autosuggest_bind_widget() { # zle without the `-w` flag (e.g. `zle self-insert` instead of # `zle self-insert -w`). eval "_zsh_autosuggest_bound_$widget() { - _zsh_autosuggest_widget_$autosuggest_action $prefix$widget $@ + _zsh_autosuggest_widget_$autosuggest_action $prefix$widget \$@ }" # Create the bound widget