void-packages/srcpkgs/fzf/files/fzf-cd-widget
2015-04-18 00:01:51 +02:00

3 lines
177 B
Text

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