aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-09-18 13:12:03 +0200
committerOscar Najera <hi@oscarnajera.com>2023-09-18 13:12:03 +0200
commit729db4356623b88623e59d647a3267183949692c (patch)
tree25b4dad940246fe229fa16f97500435bc162ad58
parentbf071575fc77830487798ff3fc626bf6cac3d459 (diff)
downloaddotfiles-729db4356623b88623e59d647a3267183949692c.tar.gz
dotfiles-729db4356623b88623e59d647a3267183949692c.tar.bz2
dotfiles-729db4356623b88623e59d647a3267183949692c.zip
install review
-rwxr-xr-xinstall.scm7
-rw-r--r--readme.org10
2 files changed, 12 insertions, 5 deletions
diff --git a/install.scm b/install.scm
index fe0dc2d..d15c804 100755
--- a/install.scm
+++ b/install.scm
@@ -20,9 +20,10 @@
((_ value f rest ...) (->> (f value) rest ...))))
(define (ansi-color-log-formatter lvl time str)
- (let ((color (cond ((eq? lvl 'CRITICAL) 'RED)
- ((eq? lvl 'WARN) 'YELLOW)
- ((eq? lvl 'OK) 'GREEN))))
+ (let ((color (case lvl
+ ((CRITICAL) 'RED)
+ ((WARN) 'YELLOW)
+ ((OK) 'GREEN))))
(string-append
(strftime "%F %H:%M:%S" (localtime time))
(colorize-string
diff --git a/readme.org b/readme.org
index b3d692f..851a373 100644
--- a/readme.org
+++ b/readme.org
@@ -1,8 +1,14 @@
#+TITLE: Managing my dotfiles
* Installation
-Be sure to have Guile and guile-lib installed on the system. Then execute the install
-script
+Be sure to have Guile and guile-lib installed on the system.
+The best way is with GUIX, follow their install instructions.
+
+#+begin_src bash
+guix install guile guile-lib
+#+end_src
+
+Then execute the install script
#+begin_src bash
./install.scm
#+end_src