summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-02-07 14:36:31 +1300
committerDavid Phillips <dbphillipsnz@gmail.com>2016-02-07 14:36:34 +1300
commit8d65d235929eda9a92eac19d6e663314e8f8f38c (patch)
treea92239c4b0585d1baf093a9498ddb4f0ad6fc67c /setup
downloaddotfiles-8d65d235929eda9a92eac19d6e663314e8f8f38c.tar.xz
Initial import
Diffstat (limited to 'setup')
-rwxr-xr-xsetup10
1 files changed, 10 insertions, 0 deletions
diff --git a/setup b/setup
new file mode 100755
index 0000000..bb8d4eb
--- /dev/null
+++ b/setup
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+for i in $(ls -1 | grep -v $(basename $0)) ; do
+ ln -s ${PWD/$HOME\//}/$i $HOME/.$i
+done
+
+# extra symlinks
+pushd $HOME
+ln -s .bash_profile .bashrc
+popd