aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schneider <thosch97@gmail.com>2015-02-15 15:47:43 +0100
committerThomas Schneider <thosch97@gmail.com>2015-02-15 15:55:46 +0100
commitca9a02d5cecad971e6b79e7089e1c3f535369b76 (patch)
treedda9fad8c1f1cd0c6a70cb748aac31dd258ae6c0
parent75a12adfe99b30971b3f09d6eba6b34f8ffec030 (diff)
Add setup script
Signed-off-by: Thomas Schneider <thosch97@gmail.com>
-rwxr-xr-xsetup.zsh7
1 files changed, 7 insertions, 0 deletions
diff --git a/setup.zsh b/setup.zsh
new file mode 100755
index 0000000..e46abc1
--- /dev/null
+++ b/setup.zsh
@@ -0,0 +1,7 @@
+#!/usr/bin/env zsh
+
+[[ $PWD = ~/.dotfiles ]] || exit 1
+
+for i in dot.*; do
+ ln -Ts .dotfiles/${i} ~/${i#dot}
+done