m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Updated Examples (markdown)

Manpreet Singh
2016-08-13 23:30:28 -07:00
parent 8ff1cff679
commit a9e7566500

@@ -51,7 +51,7 @@ vf() {
# fd - cd to selected directory # fd - cd to selected directory
fd() { fd() {
local dir local dir
dir=$(find ${1:-*} -path '*/\.*' -prune \ dir=$(find ${1:-.} -path '*/\.*' -prune \
-o -type d -print 2> /dev/null | fzf +m) && -o -type d -print 2> /dev/null | fzf +m) &&
cd "$dir" cd "$dir"
} }