2 ms·
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
by firesloth 4y ago
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.