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`