xenodium / chatgpt-shell

A multi-llm Emacs shell (ChatGPT, Claude, Gemini, Ollama, Perplexity) + editing integrations
https://lmno.lol/alvaro
GNU General Public License v3.0
866 stars 77 forks source link

The best way to install the perfect chatgpt-shell by straight.el #141

Closed Mercurius-Lee closed 1 month ago

Mercurius-Lee commented 1 year ago

(use-package shell-maker :straight (:type git :host github :repo: "xenodium/chatgpt-shell" :local-repo "chatgpt-shell" :files ("shell*.el")))

(use-package chatgpt-shell :straight (:type git :host github :repo: "xenodium/chatgpt-shell" :local-repo "chatgpt-shell" :files (:defaults (:exclude "shell*.el"))) :config (setq chatgpt-shell-openai-key (lambda () (auth-source-pick-first-password :host "api.openai.com"))))

xenodium commented 1 year ago

Thank you. Would you like to amend the README?

xenodium commented 1 year ago

I'm not a straight user.. Compared to what's in the README (contributed by others), what is the benefit to the suggestion? The README currently has the following, which seems simpler?

(use-package shell-maker
  :straight (:host github :repo "xenodium/chatgpt-shell" :files ("shell-maker.el")))

(use-package chatgpt-shell
  :requires shell-maker
  :straight (:host github :repo "xenodium/chatgpt-shell" :files ("chatgpt-shell.el")))