File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ M-x package-install eca
3636## Quickstart
3737
38381 . Run ` M-x eca ` to start the eca process and initialize the workspace.
39- - eca-emacs will download ` eca ` automatically and cache it, or use ` eca-custom-command ` to start server.
39+ - eca-emacs will check for ` eca-custom-command ` ;
40+ - if not set, will check for a ` eca ` on ` $PATH ` ;
41+ - if not found, will download ` eca ` automatically and cache it.
40422 . The dedicated chat window ` <eca-chat> ` pops up.
41433 . Type your prompt after the ` > ` and press RET.
42444 . Attach more context auto completing after the ` @ ` .
Original file line number Diff line number Diff line change @@ -149,6 +149,8 @@ If not provided, download and start eca automatically."
149149(defun eca--server-command ()
150150 " Return the command to start server."
151151 (or eca-custom-command
152+ (when-let* ((command (executable-find " eca" )))
153+ (list command " server" ))
152154 (list eca-server-install-path " server" )))
153155
154156(defun eca--parse-header (s )
You can’t perform that action at this time.
0 commit comments