aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJacob Janzen <jacob.a.s.janzen@gmail.com>2024-08-11 19:50:25 -0500
committerJacob Janzen <jacob.a.s.janzen@gmail.com>2024-08-11 19:50:25 -0500
commitdc05afff4c07b812ae2219c3d4e30247f93845b0 (patch)
tree0d7a6e8b65de6968c7e982d8eaa7076ae94dbe98 /common
parent2289c8861b0bbe53c2ebfc5cc626dbd4026c8e25 (diff)
add git send email config
Diffstat (limited to 'common')
-rw-r--r--common/.config/emacs/tools.org8
-rw-r--r--common/gitconfig.org18
-rw-r--r--common/gitconfig.org.gpgbin0 -> 929 bytes
3 files changed, 8 insertions, 18 deletions
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
--- /dev/null
+++ b/common/gitconfig.org.gpg
Binary files differ