Skip to content

Commit 42a4ff4

Browse files
author
xenodium
committed
Adding straight instructions
1 parent 6d2379d commit 42a4ff4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.org

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,20 @@ Via [[https://github.com/jwiegley/use-package][use-package]], you can install wi
120120
(auth-source-pass-get 'secret "openai-key")))))
121121
#+end_src
122122

123+
** Straight
124+
125+
#+begin_src emacs-lisp :lexical no
126+
(use-package shell-maker
127+
:straight (:type git :host github :repo "xenodium/shell-maker" :files ("shell-maker*.el")))
128+
129+
(use-package chatgpt-shell
130+
:straight (:type git :host github :repo "xenodium/chatgpt-shell" :files ("chatgpt-shell*.el"))
131+
:custom
132+
((chatgpt-shell-openai-key
133+
(lambda ()
134+
(auth-source-pass-get 'secret "openai-key")))))
135+
#+end_src
136+
123137
* Swap models
124138
** M-x chatgpt-shell-model-version
125139
#+HTML: <img src="https://raw.githubusercontent.com/xenodium/chatgpt-shell/main/demos/swap-models.png" width="80%" />

0 commit comments

Comments
 (0)