Here’s a (relatively) simple shell function for navigating up the tree from your current working directory. It was inspired by bd, but I got frustrated with some aspects (and the fact that it’s not really OS X-compatible anymore).
This is a companion discussion topic for the original entry at https://brettterpstra.com/2014/05/14/up-fuzzy-navigation-up-a-directory-tree