From 814ed46f683ef9e9d374def09358dce4a4354e0a Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Mon, 21 Oct 2019 11:01:39 +0200 Subject: [PATCH] moved ~/etc to ~/.etc --- .yadm/bootstrap | 2 +- README.org | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.yadm/bootstrap b/.yadm/bootstrap index c0236f9..d1e6b07 100644 --- a/.yadm/bootstrap +++ b/.yadm/bootstrap @@ -86,7 +86,7 @@ yadm submodule update --init --recursive printf "\n# Generating alt files ########################################################\n\n" yadm alt -for f in (find ~/etc -type f) +for f in (find ~/.etc -type f) set dest (echo $f | sed -n 's/^.*etc\(.*\)$/\/etc\1/p') sudo ln -s $f $dest end diff --git a/README.org b/README.org index 1fb84b3..b431677 100644 --- a/README.org +++ b/README.org @@ -451,7 +451,7 @@ :END: We have some files in [[file:ect/][etc/]] that are to be symlinked to =/etc=. #+BEGIN_SRC fish :exports code :tangle ~/.yadm/bootstrap - for f in (find ~/etc -type f) + for f in (find ~/.etc -type f) set dest (echo $f | sed -n 's/^.*etc\(.*\)$/\/etc\1/p') sudo ln -s $f $dest end