diff options
author | fpi | 2020-07-15 22:05:44 +0200 |
---|---|---|
committer | fpi | 2020-07-15 22:09:21 +0200 |
commit | 8871fcd011884ed8e30cb572eb0a4d42acedf776 (patch) | |
tree | 9c8eb430541e6fa2aa8c5841f3c365770ed71117 | |
parent | Add a script to pull from origin with rebase (diff) |
Add dots script
-rw-r--r-- | README.org | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |