From 465bfd37f19577f5aa693f294e3e66666fc5f7b2 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 3 Oct 2020 15:18:57 -0700 Subject: [PATCH] Use only posix find in prune-broken-symlinks --- dotfiles/zshrc.d/prune-broken-symlinks.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/zshrc.d/prune-broken-symlinks.zsh b/dotfiles/zshrc.d/prune-broken-symlinks.zsh index 73bc530..ce237e6 100644 --- a/dotfiles/zshrc.d/prune-broken-symlinks.zsh +++ b/dotfiles/zshrc.d/prune-broken-symlinks.zsh @@ -12,7 +12,7 @@ prune-broken-symlinks() { ASK=1 fi DIR=${1:-.} - FINDCMD=(find ${DIR} -type l -xtype l) + FINDCMD=(find -L ${DIR} -type l) if (($ASK)) ; then local FILES FILES=`${FINDCMD} -print`