summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2016-10-26 20:44:03 +1300
committerDavid Phillips <david@sighup.nz>2016-10-26 20:44:03 +1300
commit49b53c75b94aea509436536f94dc3e65354b9fcf (patch)
treeb4b9fa0153e79d67c4aef01ca346a4d7a7b334c7 /setup
parent4b84b1c26b4b0ca4a6b2fad3e133e628b10f8f6c (diff)
downloaddotfiles-49b53c75b94aea509436536f94dc3e65354b9fcf.tar.xz
Add local/bin files
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"