Use authinfo for api keys & delete c3po
This commit is contained in:
parent
0c7cb73424
commit
8ec59367a6
7 changed files with 15 additions and 15 deletions
BIN
.authinfo.gpg
Normal file
BIN
.authinfo.gpg
Normal file
Binary file not shown.
|
|
@ -54,16 +54,11 @@
|
||||||
("C-:" . avy-goto-char)
|
("C-:" . avy-goto-char)
|
||||||
("M-g f" . avy-goto-line)))
|
("M-g f" . avy-goto-line)))
|
||||||
|
|
||||||
(use-package c3po
|
|
||||||
:load-path "packages/c3po"
|
|
||||||
:config
|
|
||||||
(require 'to-secrets)
|
|
||||||
(setq c3po-api-key to/chat-gpt-api-key))
|
|
||||||
|
|
||||||
(use-package chatgpt-shell
|
(use-package chatgpt-shell
|
||||||
:config
|
:config
|
||||||
(require 'to-secrets)
|
(setq chatgpt-shell-openai-key
|
||||||
(setq chatgpt-shell-openai-key to/chat-gpt-api-key))
|
(lambda ()
|
||||||
|
(auth-source-pick-first-password :host "api.openai.com"))))
|
||||||
|
|
||||||
(use-package cider
|
(use-package cider
|
||||||
:defer t)
|
:defer t)
|
||||||
|
|
@ -188,6 +183,9 @@
|
||||||
(set-selection-coding-system 'utf-8)
|
(set-selection-coding-system 'utf-8)
|
||||||
(prefer-coding-system 'utf-8)
|
(prefer-coding-system 'utf-8)
|
||||||
|
|
||||||
|
(require 'epg)
|
||||||
|
(setq epg-pinentry-mode 'loopback)
|
||||||
|
|
||||||
(when (fboundp 'mac-auto-operator-composition-mode)
|
(when (fboundp 'mac-auto-operator-composition-mode)
|
||||||
(mac-auto-operator-composition-mode)))
|
(mac-auto-operator-composition-mode)))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit dabfd86165a00516faa1a65e561b5aee01ff6c5f
|
|
||||||
6
.gitmodules
vendored
6
.gitmodules
vendored
|
|
@ -1,6 +0,0 @@
|
||||||
[submodule ".emacs.d/packages/c3po"]
|
|
||||||
path = .emacs.d/packages/c3po
|
|
||||||
url = https://github.com/d1egoaz/c3po.el.git
|
|
||||||
[submodule ".emacs.d/packages/chatgpt-shell"]
|
|
||||||
path = .emacs.d/packages/chatgpt-shell
|
|
||||||
url = https://github.com/xenodium/chatgpt-shell.git
|
|
||||||
4
.stow-local-ignore
Normal file
4
.stow-local-ignore
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
\.git
|
||||||
|
\.gitignore
|
||||||
|
\.gitmodules
|
||||||
|
^/README.*
|
||||||
5
README.org
Normal file
5
README.org
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#+TITLE: README
|
||||||
|
|
||||||
|
* GNU Stow
|
||||||
|
|
||||||
|
https://systemcrafters.net/managing-your-dotfiles/using-gnu-stow/
|
||||||
Loading…
Add table
Add a link
Reference in a new issue