Hacker News new | ask | show | jobs
by pmontra 4153 days ago
See also https://github.com/twerth/bashmarks

Edit: what I'm actually using is https://github.com/huyng/bashmarks The original link is what I googled on my phone before being able to check it on the computer.

1 comments

The problem with this is that it saves all the attribute as functions and messes up the .bashrc file. Eg: to save I use: goto -s <shortcut> while this program uses: s <shortcut> Mine is a little minimal, also, the shortcut thing is just an added feature. I just wanted to replicate the Sublime Texts, fuzzy search feature. I don't think bashmarks has fuzzy-find ??
bashmarks don't have fuzzy search but they have completion. g <tab> and I can see the 12 bashmarks I defined. No need to list them. Does goto has completion on bookmark names? That's a killer feature.

Anyway I'll give goto a try because goto a_file_name could also be a killer feature. But a short name is also a good thing. I think I'll rename goto to some single letter, maybe t. I hope you don't mind.

Be my guest, just open install.sh or your .bashrc and change alias. im using goto for ". goto" you can use: "a/b/c/d..whatever" for ". goto". Cheers :)