moved ~/etc to ~/.etc
This commit is contained in:
parent
d710d25b62
commit
814ed46f68
@ -86,7 +86,7 @@ yadm submodule update --init --recursive
|
|||||||
printf "\n# Generating alt files ########################################################\n\n"
|
printf "\n# Generating alt files ########################################################\n\n"
|
||||||
yadm alt
|
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')
|
set dest (echo $f | sed -n 's/^.*etc\(.*\)$/\/etc\1/p')
|
||||||
sudo ln -s $f $dest
|
sudo ln -s $f $dest
|
||||||
end
|
end
|
||||||
|
@ -451,7 +451,7 @@
|
|||||||
:END:
|
:END:
|
||||||
We have some files in [[file:ect/][etc/]] that are to be symlinked to =/etc=.
|
We have some files in [[file:ect/][etc/]] that are to be symlinked to =/etc=.
|
||||||
#+BEGIN_SRC fish :exports code :tangle ~/.yadm/bootstrap
|
#+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')
|
set dest (echo $f | sed -n 's/^.*etc\(.*\)$/\/etc\1/p')
|
||||||
sudo ln -s $f $dest
|
sudo ln -s $f $dest
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user