From dc05afff4c07b812ae2219c3d4e30247f93845b0 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Sun, 11 Aug 2024 19:50:25 -0500 Subject: add git send email config --- common/.config/emacs/tools.org | 8 ++++++++ common/gitconfig.org | 18 ------------------ common/gitconfig.org.gpg | Bin 0 -> 929 bytes 3 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 common/gitconfig.org create mode 100644 common/gitconfig.org.gpg (limited to 'common') diff --git a/common/.config/emacs/tools.org b/common/.config/emacs/tools.org index ddbf80c..bd6f3ae 100644 --- a/common/.config/emacs/tools.org +++ b/common/.config/emacs/tools.org @@ -148,6 +148,14 @@ Tangle on save. (add-hook 'after-save-hook #'org-babel-tangle-config))) #+end_src +Enable Org Crypt. +#+begin_src emacs-lisp :tangle ~/.config/emacs/tools.el :mkdirp yes + (org-crypt-use-before-save-magic) + (setq org-tags-exclude-from-inheritance '("crypt")) + (setq org-crypt-key nil) + (setq auto-save-default nil) +#+end_src + * Shell Use =eshell= as an integrated shell. #+begin_src emacs-lisp :tangle ~/.config/emacs/tools.el :mkdirp yes diff --git a/common/gitconfig.org b/common/gitconfig.org deleted file mode 100644 index c907204..0000000 --- a/common/gitconfig.org +++ /dev/null @@ -1,18 +0,0 @@ -#+title: Git Configuration -Define my full name and email. -#+begin_src conf :tangle ~/.gitconfig - [user] - name = Jacob Janzen - email = jjanzenn@proton.me -#+end_src -Use =main= over =master=. -#+begin_src conf :tangle ~/.gitconfig - [init] - defaultBranch = main -#+end_src - -Make =pull= rebase on conflict. -#+begin_src conf :tangle ~/.gitconfig - [pull] - rebase = true -#+end_src diff --git a/common/gitconfig.org.gpg b/common/gitconfig.org.gpg new file mode 100644 index 0000000..12954b7 Binary files /dev/null and b/common/gitconfig.org.gpg differ -- cgit v1.2.3