So I’m a nerd.
Shocking, I know… right.
But I’m like, a fringe/closet nerd… not really willing to commit enough to being a nerd to try things like, oh, switching my login shell in OSX, instead just happily plugging away with BASH for years.
Well, today I took a leap and switched to ZSH.
And so far, its pretty amazing, thanks in large part to a fantastic community effort, “oh-my-zsh.” (seriously, if you plan on trying ZSH at any point, you need to save this link and check it out, it makes customizing zsh so insanely easy.)
Anyway, after setting up my prompt and adding a few of my own custom alias definitions, I realized the one thing I was already sorely missing from bash; bashmarks.
This is something I use so many times everyday its not possible to live without it. Well, at first, I tried some alternatives, like autojump and yes, its really a very nice script, but it wasn’t bashmarks.
So I decided to very quickly modify bashmarks for oh-my-zsh, adding an option to manually edit the .bookmarks file, and removing bash-completion support, and adding ZSH tab completion.
Anyway, I went ahead and sent in a pull request to the main oh-my-zsh repository, but in the meantime, for anyone that wants to try this, download the following:
This plugin is now part of my fork of oh-my-zsh on github, either cherry-pick the commit, or download just the zshmarks plugin files/folder from my repo here:
UPDATE: 19 August, 2013 – A few days ago I split the zshmarks plugin into it’s own repository on github, so you no longer need to clone my fork of oh-my-zsh, just clone the zshmarks plugin repo into your ~/oh-my-zsh/plugins or ~/oh-my-zsh/custom/plugins directory.
Cheers everyone 🙂