Re:Ask HN: Can I see your scripts?
by falcolas on Monday August 15, 2022 @10:03AM
(#32469820)
For local documentation of libraries (and languages):
And a couple of zshrc functions which make jumping around my filesystem quite snappy. `jump` is aliased to `j`, and `mark` to `m`
(Totally stolen, and fixed up to work in ZSH)
[ Parent
| on HN ]
I did something similar in bash using cd instead of jump.
export CDPATH=.:~/.marks/
function mark {
ln -sv "$(pwd)" ~/.marks/"$1"
}
I prefix all the "marks" with a symbol (eg "@") then if I do $ cd @
then press tab it will list all the marks, or autocomplete if I type more.