bashmarks… for zsh

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 🙂

4 thoughts on “bashmarks… for zsh

  1. Dori 16 May, 2013 / 02:36

    Fantastic! Just what I was looking for, much appreciated. 🙂

  2. Shachar 30 August, 2014 / 05:19

    would this work with pretzo?

    • jocelynmallon 30 August, 2014 / 07:40


      I’ve never even heard of pretzo until you just mentioned it. I’ll look into compatibility today if I get the chance, but I don’t utilize anything specific to oh-my-zsh, so it should at least be possible to make work.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s