aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stow.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/stow.sh')
-rwxr-xr-xscripts/stow.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/stow.sh b/scripts/stow.sh
new file mode 100755
index 0000000..d4322e4
--- /dev/null
+++ b/scripts/stow.sh
@@ -0,0 +1,8 @@
+#/bin/bash
+
+SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+DOTFILE_DIR="$(cd $SCRIPT_DIR && cd ../dotfiles && pwd)"
+echo $DOTFILE_DIR
+
+# add link
+cd $DOTFILE_DIR && stow -d $DOTFILE_DIR -t $HOME --no-folding --adopt */ \ No newline at end of file