I use `z` as a less manual way to search common directories instead of changing $CDPATH. It's based on 'frecency'.
So the very small 50 LOC kd was born:
kd # jumps to project top level (based on .git/Gemfile)
kd foobar "$PWD" # saves an entry named foobar pointing to $PWD
kd foo # jumps to foobar
cp qux $(kd foo) # expands to foobar's value
I should probably make it expand to absolute paths so that I could change "$PWD" to .https://gist.github.com/pcdv/3c52d82f59fe9042793033d5e249b14...
g . # add current dir to bookmarks
g # list bookmarks
g del # open bookmarks in vi (should use $EDITOR ...)
g <regex> # jump to first matching bookmark
Wonder how many monthdays I saved compared to colleagues still navigating manually :DFor exploring massive file trees, a terminal file manager that allows you to preview the contents of subdirectories without entering them is huge time saver. I use `lf`.
I love Z but I cannot believe there isn't something better yet?
One thing I'd love is something that helps navigating the current git project easier.