diff --git a/doom/.config/doom/README.org b/doom/.config/doom/README.org index a54ebbb..d3088ff 100644 --- a/doom/.config/doom/README.org +++ b/doom/.config/doom/README.org @@ -1841,12 +1841,14 @@ Hermes Agent runs on lazyworkhorse server. Launched via SSH in a vterm buffer. "Launch Hermes Agent in vterm via SSH to lazyworkhorse (CLI mode)." (interactive) (let ((buf (get-buffer-create "*hermes*"))) + (delete-other-windows) (switch-to-buffer buf) (unless (get-buffer-process buf) (vterm buf) (let ((proc (get-buffer-process buf))) (when proc - (process-send-string proc "ssh -t lazyworkhorse hermes\n"))))))) + (process-send-string + proc "ssh -t lazyworkhorse 'docker exec -it hermes /opt/hermes/.venv/bin/hermes'\n"))))))) #+end_src * Tramp diff --git a/zsh/.zshrc b/zsh/.zshrc index 7cd3b74..072f6ee 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -19,8 +19,8 @@ alias emacs="emacsclient -c -a emacs" # Opencode alias oc="opencode" -# Hermes Agent in Emacs vterm -alias hermes="emacsclient -n -c -e '(gortium/hermes-vterm)'" +# Hermes Agent - SSH directly to remote server +alias hermes="ssh lazyworkhorse 'docker exec -it hermes /opt/hermes/.venv/bin/hermes'" # Yazi alias y="yazi"