News for hackers. Stuff that matters.
Re:Show HN: Goto: CLI for teleporting with your terminal by Annatar on Thursday January 03, 2019 @10:00AM (#18815548)
You really should learn how to use pushd and popd in your shell.
Re:Show HN: Goto: CLI for teleporting with your terminal by natmaka on Thursday January 03, 2019 @10:28AM (#18815760)
Is it similar to z ( https://github.com/rupa/z )? If so, why is it better?
Re:Show HN: Goto: CLI for teleporting with your terminal by catears on Thursday January 03, 2019 @04:02PM (#18819236)
Hi, thanks for asking!

It is a bit similar to z, I actually looked a bit at autojump (https://github.com/wting/autojump) before working on goto, which is quite similar to z. Z keeps track of where you have been and guesses where you want to go (I haven't tried it, but it probably is good). Goto works more like bookmarking where you can bookmark a single location and then later jump to it. I guess I would say goto and z solve the same problem but goto doesn't guess where you want to go, instead you have to enter the folders you want to use manually.

The reason I developed goto was to use profiles. Sometimes I want a certain set of locations to jump (and autocomplete) to. And other times I want a different set of locations to jump to. Profiles in goto solve this by allowing you to switch between them.

Re:Show HN: Goto: CLI for teleporting with your terminal by gregjor on Thursday January 03, 2019 @11:41AM (#18816426)
ctrl-R ?
Re:Show HN: Goto: CLI for teleporting with your terminal by edmanet on Thursday January 03, 2019 @10:09AM (#18815622)
cd ~

cd -

Re:Show HN: Goto: CLI for teleporting with your terminal by catears on Thursday January 03, 2019 @10:11AM (#18815637)
?

It's not just about going to your home folder...