summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
Diffstat (limited to 'setup')
-rwxr-xr-xsetup5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup b/setup
index bb8d4eb..8db1765 100755
--- a/setup
+++ b/setup
@@ -1,10 +1,11 @@
#!/bin/bash
+cd $(dirname $0)
+
for i in $(ls -1 | grep -v $(basename $0)) ; do
ln -s ${PWD/$HOME\//}/$i $HOME/.$i
done
# extra symlinks
-pushd $HOME
+cd $HOME
ln -s .bash_profile .bashrc
-popd