diff --git a/dotfiles/zshrc.d/prune-broken-symlinks.zsh b/dotfiles/zshrc.d/prune-broken-symlinks.zsh index ce237e6..4db9c49 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 -L ${DIR} -type l) + FINDCMD=(find -L ${DIR} -xdev -type l) if (($ASK)) ; then local FILES FILES=`${FINDCMD} -print`