summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
Diffstat (limited to 'setup')
-rwxr-xr-xsetup6
1 files changed, 2 insertions, 4 deletions
diff --git a/setup b/setup
index 9fdddb1..41eba31 100755
--- a/setup
+++ b/setup
@@ -2,11 +2,9 @@
cd $(dirname $0)
-for i in $(ls -1 | grep -v $(basename $0)) ; do
+for i in $(find -maxdepth 1 -type f | grep -v $(basename $0)) ; do
ln -s ${PWD/$HOME\//}/$i $HOME/.$i
done
# extra symlinks
-# No.
-#cd $HOME
-#ln -s .bash_profile .bashrc
+ln -s "../${PWD/$HOME\//}/local/bin" "$HOME/.local/bin"