diff options
Diffstat (limited to 'config/git.scm')
| -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)))))) |
