From 6ffca5dfda45ef1b841fe8c7394363192c8862ef Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Sun, 5 Apr 2026 16:37:48 -0400 Subject: refactor: move git config to separate package --- config/git.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 config/git.scm (limited to 'config/git.scm') diff --git a/config/git.scm b/config/git.scm new file mode 100644 index 0000000..7dddd97 --- /dev/null +++ b/config/git.scm @@ -0,0 +1,23 @@ +(define-library (config git) + (export git-config) + (import (scheme base) + (ini)) + (begin + (define git-config + (parameterize + ((current-output-port + (open-output-string))) + (scm->ini + '((init + ("defaultBranch" . "master")) + (core + ("editor" . "emacsclient -c")) + (user + ("email" . "contact@robbyzambito.me") + ("name" . "Robby Zambito")) + ;; see push.autoSetupRemote in git help config + (push + ("autoSetupRemote" . "true")) + ("url \"rad://\"" + ("insteadOf" . "https://rad.go/")))) + (get-output-string (current-output-port)))))) -- cgit