eukaryote2
Re:Ask HN: What does your favorite custom shell script do?
on Friday May 01, 2015 @11:45AM (#9472195)
One I've had for years is bookmarks. It's actually a bash shell function. You can bookmark a file or a directory.
$ bma filename
$ bma dir
when you type bm, it lists the bookmarks. Select a directory, and it cd's to it. Select a file, and it opens it in vi. Bookmarks can be grouped and sub-grouped and shared with many users on the same linux/unix box.
If enough people are interested, I will publish it somewhere for others to use/adapt/improve.