summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2018-06-09 22:46:29 +0200
committerTharre <tharre3@gmail.com>2018-06-09 22:46:29 +0200
commit4126518fbc5df125ae0da112a07a8c7b6f9ce559 (patch)
treee300d3ad131a8095a5fd49510e495750e0e9c72b /install.sh
parenta9c5b08375b37dc14f9bd8734dc4e4af20ba8b2b (diff)
downloaddotfiles-4126518fbc5df125ae0da112a07a8c7b6f9ce559.tar.gz
dotfiles-4126518fbc5df125ae0da112a07a8c7b6f9ce559.tar.xz
dotfiles-4126518fbc5df125ae0da112a07a8c7b6f9ce559.zip
Only symlink files to `~/bin`, not directories
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 52b879d..8997fcd 100755
--- a/install.sh
+++ b/install.sh
@@ -41,7 +41,7 @@ done
chmod 700 .gnupg
mkdir -p ~/bin
-find "$(pwd)/bin" -maxdepth 1 ! -path . -exec ln -sf {} ~/bin/ \;
+find "$(pwd)/bin" -maxdepth 1 -type f -exec ln -sf {} ~/bin/ \;
# remove broken symlinks
find -L "$HOME" -maxdepth 1 -type l -delete