X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/82d7392c5ca2632efc17169b5e97852c282ec6b2..3e59c20a7a476d0b704c2cc1b377b9b10be0640a:/zsh/lib/fzf.zsh?ds=inline diff --git a/zsh/lib/fzf.zsh b/zsh/lib/fzf.zsh index fdeb0b8..6f0b81f 100755 --- a/zsh/lib/fzf.zsh +++ b/zsh/lib/fzf.zsh @@ -47,7 +47,7 @@ bindkey '^T' fzf-file-widget # ALT-C - cd into the selected directory fzf-cd-widget() { - cd "${$(command find -L . \( -path '*/\.*' -o -fstype 'dev' -o -fstype 'proc' \) -prune \ + cd "${$(command find -L . -xdev \( -path '*/\.*' -o -fstype 'dev' -o -fstype 'proc' \) -prune \ -o -type d -print 2> /dev/null | sed 1d | cut -b3- | fzf +m):-.}" zle reset-prompt }