diff options
| author | Szymon Szukalski <szymon@szymonszukalski.com> | 2026-04-01 16:51:40 +1100 |
|---|---|---|
| committer | Szymon Szukalski <szymon@szymonszukalski.com> | 2026-04-01 16:51:40 +1100 |
| commit | 85af41da1b74db47a74bcdfbcad4a4154f3af3b3 (patch) | |
| tree | d3f417f7369567b25e5bb35761de9277fa68f3ba /config.org | |
| parent | 99a6eb826380e4f387440a350367589a23f8452f (diff) | |
Configure note auto-commit workflow
Diffstat (limited to 'config.org')
| -rw-r--r-- | config.org | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -608,6 +608,25 @@ Denote handles naming, metadata, linking, and retrieval. (denote-rename-buffer-mode 1)) #+end_src +** Automatic git commits + +The notes tree can enable =git-auto-commit-mode= through a =.dir-locals.el= +at =~/org/=. The Emacs config keeps the package available and sets the +machine-specific shell command chaining based on the active shell, while the +repo-local behavior lives with the notes tree. + +#+begin_src emacs-lisp + (use-package git-auto-commit-mode + :ensure t + :pin melpa + :commands (git-auto-commit-mode) + :init + (setq gac-shell-and + (if (string-match-p "fish\\'" shell-file-name) + " ; and " + " && "))) +#+end_src + * Gptel workflow This keeps LLM chat available as a small workflow tool inside Emacs. GitHub |
