Use authinfo for api keys & delete c3po

This commit is contained in:
Tobias Ostner 2023-04-30 08:53:29 +02:00
parent 0c7cb73424
commit 8ec59367a6
7 changed files with 15 additions and 15 deletions

BIN
.authinfo.gpg Normal file

Binary file not shown.

View file

@ -54,16 +54,11 @@
("C-:" . avy-goto-char)
("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
:config
(require 'to-secrets)
(setq chatgpt-shell-openai-key to/chat-gpt-api-key))
(setq chatgpt-shell-openai-key
(lambda ()
(auth-source-pick-first-password :host "api.openai.com"))))
(use-package cider
:defer t)
@ -188,6 +183,9 @@
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
(require 'epg)
(setq epg-pinentry-mode 'loopback)
(when (fboundp 'mac-auto-operator-composition-mode)
(mac-auto-operator-composition-mode)))

@ -1 +0,0 @@
Subproject commit dabfd86165a00516faa1a65e561b5aee01ff6c5f

6
.gitmodules vendored
View file

@ -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
View file

@ -0,0 +1,4 @@
\.git
\.gitignore
\.gitmodules
^/README.*

5
README.org Normal file
View file

@ -0,0 +1,5 @@
#+TITLE: README
* GNU Stow
https://systemcrafters.net/managing-your-dotfiles/using-gnu-stow/