News for hackers. Stuff that matters.
Re:Show HN: Goto – A Linux shell 'cd' replacement tool by Pym on Wednesday February 04, 2015 @02:43AM (#8995753)
If you prefer something automatic that will learn from your own usage, have a look at https://github.com/clvv/fasd
Re:Show HN: Goto – A Linux shell 'cd' replacement tool by TheDong on Wednesday February 04, 2015 @03:15AM (#8995832)
I cannot recommend fasd enough.

If I want to end up in one of my folders, say my "pictures of dogs" folder, I'd just type "z dogs" into my shell and be there because it's part of the path and I visit it frequently.

If I want to work on that ruby script I was writing, I can just type "vim `f backup.rb`", or even just "vim `f back`".

If I know I have many folders that might fit the criterion (e.g. one of my many folders that end in .git/), I can just type "z -i .git" and pick from the frecent list... it's usually near the top because fasd is just magic like that.

I HIGHLY recommend that tool.

Re:Show HN: Goto – A Linux shell 'cd' replacement tool by a3_nm on Wednesday February 04, 2015 @03:48AM (#8995913)
For your vim use case, I have v aliased to "f -e vim" so I can just say "v back".

fasd is incredibly useful. Along with l aliased to "ls", it is the first thing I miss on foreign servers.

Re:Show HN: Goto – A Linux shell 'cd' replacement tool by nubbie on Wednesday February 04, 2015 @04:03AM (#8995937)
Awesome, looks like it's time for me to replace autojump