diff --git a/.authinfo.gpg b/.authinfo.gpg new file mode 100644 index 0000000..4aeff33 Binary files /dev/null and b/.authinfo.gpg differ diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 1e3001c..48b160b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -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))) diff --git a/.emacs.d/packages/c3po b/.emacs.d/packages/c3po deleted file mode 160000 index dabfd86..0000000 --- a/.emacs.d/packages/c3po +++ /dev/null @@ -1 +0,0 @@ -Subproject commit dabfd86165a00516faa1a65e561b5aee01ff6c5f diff --git a/.emacs.d/utils/helpers.el b/.emacs.d/utils/helpers.el deleted file mode 100644 index e69de29..0000000 diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index db3b0ec..0000000 --- a/.gitmodules +++ /dev/null @@ -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 diff --git a/.stow-local-ignore b/.stow-local-ignore new file mode 100644 index 0000000..907fb49 --- /dev/null +++ b/.stow-local-ignore @@ -0,0 +1,4 @@ +\.git +\.gitignore +\.gitmodules +^/README.* \ No newline at end of file diff --git a/README.org b/README.org new file mode 100644 index 0000000..5801374 --- /dev/null +++ b/README.org @@ -0,0 +1,5 @@ +#+TITLE: README + +* GNU Stow + +https://systemcrafters.net/managing-your-dotfiles/using-gnu-stow/