aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2020-12-05 14:09:18 +0100
committerÓscar Nájera <hi@oscarnajera.com>2020-12-05 14:09:18 +0100
commit151ea180e4b1f09c5d8e4f28ffaa346881ab5435 (patch)
treeaf651037466f6ba32e8d61ee0ca5c087c6adf9aa
parenta6269fec35d130610099d7479c11aaca01e1d5f5 (diff)
downloaddotfiles-151ea180e4b1f09c5d8e4f28ffaa346881ab5435.tar.gz
dotfiles-151ea180e4b1f09c5d8e4f28ffaa346881ab5435.tar.bz2
dotfiles-151ea180e4b1f09c5d8e4f28ffaa346881ab5435.zip
Update readme, symlink config is better than the worktree
The change to symlink is that I can better manage the files. I realized with worktree that I had to ignore everything, then add with git force and projectile got really slow.
-rw-r--r--readme.org16
1 files changed, 5 insertions, 11 deletions
diff --git a/readme.org b/readme.org
index 99cb95d..cebeeb7 100644
--- a/readme.org
+++ b/readme.org
@@ -1,17 +1,11 @@
#+TITLE: Managing my dotfiles
* Installation
-** From Scratch
-Create a new directory that will hold the files. It will create only the
-bare repo on the =git-dir= path. Yet, it is *not* a bare repo. It only has
-the folder structure of it. This is made on purpose so that I don't mess up
-trying to edit that folder. The =work-tree= is a link back to the home
-directory.
+Be sure to have Guile installed on the system. Then execute the install
+script
#+begin_src bash
-git --git-dir $HOME/dev/dotfiles --work-tree $HOME init
+./install.scm
#+end_src
-Configure the link back to the main repository.
-#+begin_src bash
-echo "gitdir: $HOME/dev/dotfiles" > $HOME/.git
-#+end_src
+This will either symlink files from the home directory to the ones in this
+repository or dynamically create some files in read only mode.