From 8871fcd011884ed8e30cb572eb0a4d42acedf776 Mon Sep 17 00:00:00 2001 From: fpi Date: Wed, 15 Jul 2020 22:05:44 +0200 Subject: Add dots script --- README.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.org b/README.org index c199c9e..893befd 100644 --- a/README.org +++ b/README.org @@ -100,3 +100,18 @@ rm $catFile $symlinkFile #+end_src + +** =dots= script +I place this script in my =PATH= to execute commands in the dotfiles +directory from anywhere. + +#+begin_src shell :shebang "#!/bin/bash" :tangle tangle/dots.sh +cd ~/git/projects/dotfiles +$@ +#+end_src + +Create a symlink for this script. + +#+BEGIN_SRC sh :tangle tangle/symlink.sh :results silent :shebang "#!/bin/bash" +ln -siv $(pwd)/tangle/dots.sh ~/.local/bin/dots +#+END_SRC -- cgit v1.2.3