aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
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