diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-08-11 19:50:25 -0500 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-08-11 19:50:25 -0500 |
commit | dc05afff4c07b812ae2219c3d4e30247f93845b0 (patch) | |
tree | 0d7a6e8b65de6968c7e982d8eaa7076ae94dbe98 | |
parent | 2289c8861b0bbe53c2ebfc5cc626dbd4026c8e25 (diff) |
add git send email config
-rw-r--r-- | common/.config/emacs/tools.org | 8 | ||||
-rw-r--r-- | common/gitconfig.org | 18 | ||||
-rw-r--r-- | common/gitconfig.org.gpg | bin | 0 -> 929 bytes | |||
l--------- | gentoo/gitconfig.org | 1 | ||||
l--------- | gentoo/gitconfig.org.gpg | 1 | ||||
-rwxr-xr-x | install | 8 | ||||
l--------- | macos/gitconfig.org | 1 | ||||
l--------- | macos/gitconfig.org.gpg | 1 |
8 files changed, 17 insertions, 21 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 Binary files differnew file mode 100644 index 0000000..12954b7 --- /dev/null +++ b/common/gitconfig.org.gpg diff --git a/gentoo/gitconfig.org b/gentoo/gitconfig.org deleted file mode 120000 index e4e5534..0000000 --- a/gentoo/gitconfig.org +++ /dev/null @@ -1 +0,0 @@ -../common/gitconfig.org
\ No newline at end of file diff --git a/gentoo/gitconfig.org.gpg b/gentoo/gitconfig.org.gpg new file mode 120000 index 0000000..e4cb6ab --- /dev/null +++ b/gentoo/gitconfig.org.gpg @@ -0,0 +1 @@ +../common/gitconfig.org.gpg
\ No newline at end of file @@ -29,10 +29,16 @@ else fi echo 'installing configuration files...' -find -L -- . -type f -name "*.org" | while read -r file; do +find -L -- . -type f -name "*\.org" | while read -r file; do echo " installing $file..." emacs --batch "$file" -f package-initialize --eval '(org-babel-tangle)' >> ~/.update-home.log 2>&1 done +find -L -- . -type f -name "*\.org\.gpg" | while read -r file; do + echo " installing $file..." + gpg -d "$file" > tmp.org + emacs --batch tmp.org -f package-initialize --eval '(org-babel-tangle)' >> ~/.update-home.log 2>&1 + rm tmp.org +done echo 'installing wallpaper...' cp .wallpaper ~/.wallpaper diff --git a/macos/gitconfig.org b/macos/gitconfig.org deleted file mode 120000 index e4e5534..0000000 --- a/macos/gitconfig.org +++ /dev/null @@ -1 +0,0 @@ -../common/gitconfig.org
\ No newline at end of file diff --git a/macos/gitconfig.org.gpg b/macos/gitconfig.org.gpg new file mode 120000 index 0000000..e4cb6ab --- /dev/null +++ b/macos/gitconfig.org.gpg @@ -0,0 +1 @@ +../common/gitconfig.org.gpg
\ No newline at end of file |