From 151ea180e4b1f09c5d8e4f28ffaa346881ab5435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sat, 5 Dec 2020 14:09:18 +0100 Subject: 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. --- readme.org | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'readme.org') 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. -- cgit v1.2.3