void-packages/srcpkgs/fzf/files/fzf-cd-widget

4 lines
177 B
Plaintext
Raw Normal View History

2015-04-17 23:44:53 +02:00
cd "${$(command find -L . \( -path '*/\.*' -o -fstype 'dev' -o -fstype 'proc' \) -prune \
-o -type d -print 2> /dev/null | sed 1d | cut -b3- | fzf +m):-.}"
zle reset-prompt