diff options
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 |
commit | 151ea180e4b1f09c5d8e4f28ffaa346881ab5435 (patch) | |
tree | af651037466f6ba32e8d61ee0ca5c087c6adf9aa | |
parent | a6269fec35d130610099d7479c11aaca01e1d5f5 (diff) | |
download | dotfiles-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.org | 16 |
1 files changed, 5 insertions, 11 deletions
@@ -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. |