aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2020-09-28 22:31:09 +0200
committerÓscar Nájera <hi@oscarnajera.com>2020-09-28 22:31:09 +0200
commit8e48117d80046c490322266ed58bb28a3e0a8682 (patch)
tree1eeaa1b09cde37679f07ceaa852fb56097a3abad
parentaf9eaa8186b5c482639b617ab6dc04444dfbdf30 (diff)
downloaddotfiles-8e48117d80046c490322266ed58bb28a3e0a8682.tar.gz
dotfiles-8e48117d80046c490322266ed58bb28a3e0a8682.tar.bz2
dotfiles-8e48117d80046c490322266ed58bb28a3e0a8682.zip
Setup git configs
-rw-r--r--git/global-gitconfig (renamed from .gitconfig)0
-rw-r--r--git/tribe29 (renamed from git/.gitconfig)0
-rwxr-xr-xinstall.scm12
3 files changed, 10 insertions, 2 deletions
diff --git a/.gitconfig b/git/global-gitconfig
index 89270c5..89270c5 100644
--- a/.gitconfig
+++ b/git/global-gitconfig
diff --git a/git/.gitconfig b/git/tribe29
index 4e47e4b..4e47e4b 100644
--- a/git/.gitconfig
+++ b/git/tribe29
diff --git a/install.scm b/install.scm
index 1151500..770dd81 100755
--- a/install.scm
+++ b/install.scm
@@ -57,11 +57,19 @@
(delete-file full-dest))
full-dest)
+(define (git-config)
+ (log-msg 'INFO "Configuring git")
+ (symlink (expand-file "git/global-gitconfig") (clean-file (expand-file "~/.gitconfig")))
+ (log-msg 'OK " Symlink global config")
+ (symlink (expand-file "git/tribe29") (clean-file (expand-file "~/git/.gitconfig")))
+ (log-msg 'OK " Symlink Tribe29 config"))
+
(define (main args)
(setup-logging)
- (log-msg 'INFO "symlink PIM")
+ (log-msg 'INFO "Symlink PIM")
(symlink (expand-file "calendars.conf") (clean-file (expand-file "~/.calendars.conf")))
- (log-msg 'OK "symlink agenda")
+ (log-msg 'OK " Symlink agenda")
+ (git-config)
(shutdown-logging))