Directory Bookmarker
After over a decade of looking at directory changers and bookmarkers (zoxide, fasd, autojump, etc), I decided to just write one.
It's for FISH, because that's what I use, and it uses FZF. You just write out your list of directory "bookmarks" in ~/.sdirs. For example: Code:
~/Videos Code:
function j Then you just enter "j" for a menu, or, "j D" to jump to ~/Downloads. These are what I looked at to get it done: https://github.com/mgunyho/tere https://stackoverflow.com/questions/...-tilde-in-bash https://www.reddit.com/r/commandline..._exactly_what/ https://github.com/huyng/bashmarks https://stackoverflow.com/a/29643375 If you'd rather have it for BASH or Zsh, well, that's left as an exercise for the reader. My previous attempt: https://gist.github.com/duganchen/40...f2957aa1764dca |
All times are GMT -5. The time now is 01:31 AM. |