File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ _zsh_autosuggest_async_request() {
54
54
# First arg will be fd ready for reading
55
55
# Second arg will be passed in case of error
56
56
_zsh_autosuggest_async_response () {
57
+ emulate -L zsh
58
+
57
59
if [[ -z " $2 " || " $2 " == " hup" ]]; then
58
60
# Read everything from the fd and give it as a suggestion
59
61
zle autosuggest-suggest -- " $( cat < & $1 ) "
Original file line number Diff line number Diff line change @@ -653,6 +653,8 @@ _zsh_autosuggest_async_request() {
653
653
# First arg will be fd ready for reading
654
654
# Second arg will be passed in case of error
655
655
_zsh_autosuggest_async_response () {
656
+ emulate -L zsh
657
+
656
658
if [[ -z " $2 " || " $2 " == " hup" ]]; then
657
659
# Read everything from the fd and give it as a suggestion
658
660
zle autosuggest-suggest -- " $( cat < & $1 ) "
You can’t perform that action at this time.
0 commit comments