Fix error when single quote entered into buffer
Error looked something like: ``` % echo 'f(zpty):8: unmatched ' _zsh_autosuggest_capture_completion:zpty:9: no such pty command: zsh_autosuggest_completion_pty _zsh_autosuggest_capture_completion:zpty:14: no such pty command: zsh_autosuggest_completion_pty _zsh_autosuggest_capture_completion:zpty:21: no such pty command: zsh_autosuggest_completion_pty ``` According to `man zshmodules`, the args to `zpty` are "concatenated with spaces between, then executed as a command, as if passed to the eval builtin." So we need to escape the `$` so that `$1` is passed to eval instead of the value of `$1`.pull/330/head
parent
43a011026f
commit
1ec43c7291
Loading…
Reference in New Issue