A little fzf function I use constantly to jump into any subfolder
Not sure if this is old news to everyone but I use this all day so figured I'd share. I got sick of typing cd really/long/nested/path/to/thing so I "made" this:
#fuzzy cd into any subdirectory
fcd() {
local dir
dir=$(find "${1:-.}" -type d 2>/dev/null | fzf) && cd "$dir" || return
}
Drop it in your .bashrc, open a new shell, and just run fcd. It lists every folder under where you are, you start typing, hit enter, and you're in it. You can also give it a starting point like fcd ~/projects if you don't want to scan from the current dir.
Curious if anyone has a slicker version. I'm sure there's a way to make it faster on huge trees.