I guess I'll share what I built for myself. https://gist.github.com/chanux/1119556 (bash) https://gist.github.com/chanux/9411092 (fish) That's `za ` to go back n directories up. It's a decade old and I still use this everyday. I experimented with jumping up directory path by name with `xs`. But I don't use it that often (at all). https://gist.github.com/chanux/08c6f53472190a02b33bd49100163...
alias .='dot_func'
alias ..='cd ../..'
alias ...='cd ../../..'
alias ....='cd ../../../..'
alias .....='cd ../../../../..'
dot_func ()
{
if [ $# -eq 0 ]; then
cd ..
else
source "$@"
fi
}
It’s usually enough. :)