xenodium / chatgpt-shell

ChatGPT and DALL-E Emacs shells + Org babel 🦄 + a shell maker for other providers
https://xenodium.com
GNU General Public License v3.0
824 stars 74 forks source link

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

Closed Mercurius-Lee closed 3 weeks 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")))