Re:How to navigate directories faster with Bash (2015)
by pacoverdi on Thursday April 22, 2021 @11:44AM
(#26904053)
Nice, looks like mine from ~20 years ago
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 :D
So the very small 50 LOC kd was born:
I should probably make it expand to absolute paths so that I could change "$PWD" to .https://github.com/lloeki/dotfiles/blob/master/shell/kd