Commit Graph

20 Commits (a0fcd81ce19947339aea3b05ec57d6680ba99548)

Author SHA1 Message Date
Eric Freese a0fcd81ce1 Destroy zpty on load if it already exists 9 years ago
Eric Freese 9feac573c9 Do not show any error output from async zpty server process 9 years ago
Eric Freese ed8056c5e8 Lots of async changes 9 years ago
Eric Freese 2c465a932a Rename async pty name config var 9 years ago
Eric Freese e3eb286ea2 Lots of little async cleanups 9 years ago
Eric Freese 40bb2e7804 little cleanup 9 years ago
Eric Freese 16666da488 Handle versions of zsh where zpty does not set REPLY to fd of opened pty
Based on e702ec4697/async.zsh (L400-L406)
9 years ago
Eric Freese f33b605a63 Move async initialization into `start` function to keep in one place 9 years ago
Eric Freese 6c5cd42331 Go back to tracking last pid because `kill %1` didn't seem to be working 9 years ago
Eric Freese 21d9eda5dd Wrap suggestion fetch command in parens to actually run in background 9 years ago
Eric Freese b3208b08af Pass the chosen strategy into the suggestion server pty 9 years ago
Eric Freese e5a5b0c1e0 Output only newlines in the pty 9 years ago
Eric Freese 0337005eb0 Disable word splitting while reading to preserve whitespace 9 years ago
Eric Freese b530b0c996 Use `zpty -r` with pattern matching to fetch suggestion 9 years ago
Eric Freese 5c891afd48 Reset zsh options inside pty (from zsh-async) 9 years ago
Eric Freese e33eb570c4 Send only the prefix to the suggestion server 9 years ago
Eric Freese fba20b042e Use %1 instead of tracking pid 9 years ago
Eric Freese 0308ed797e Rename worker to server 9 years ago
Eric Freese e72c2d87e5 add a bunch of comments 9 years ago
Eric Freese ab8f295225 First pass at async functionality 9 years ago