summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-07-15 22:05:44 +0200
committerfpi2020-07-15 22:09:21 +0200
commit8871fcd011884ed8e30cb572eb0a4d42acedf776 (patch)
tree9c8eb430541e6fa2aa8c5841f3c365770ed71117
parentAdd a script to pull from origin with rebase (diff)
Add dots script
-rw-r--r--README.org15
1 files changed, 15 insertions, 0 deletions
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