diff options
| author | Robby Zambito <contact@robbyzambito.me> | 2026-04-05 16:37:48 -0400 |
|---|---|---|
| committer | Robby Zambito <contact@robbyzambito.me> | 2026-04-05 16:40:17 -0400 |
| commit | 6ffca5dfda45ef1b841fe8c7394363192c8862ef (patch) | |
| tree | d6440bd40206063aeb5b7baa6e4ae2cce928b4fa /config | |
| parent | cc1cd5e89f70baf4dc6034630946f2063395675d (diff) | |
refactor: move git config to separate package
Diffstat (limited to 'config')
| -rw-r--r-- | config/git.scm | 23 |
1 files changed, 23 insertions, 0 deletions
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)))))) |
