summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..9c88187
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Installs my dotfiles on a new system
+
+for f in $(find . -maxdepth 1 ! -name ".git" -name ".[^.]*"); do
+ rm -rf $HOME/$f
+ ln -s $HOME/repositories/dotfiles/$f $HOME/$f
+done