Open Mou from terminal

I'm a big fan of Mou. However I find that I almost always want to use it while at the terminal. Especially since I started using autojump. We have two options here, creating an alias or writing a script. I prefer the first because I already have a huge number of aliases in my ~/.zshrc file and don't have to chmod anything.

Using an alias

Add the following line to your .zshrc, .bashrc or .profile file.

alias mou="open -a"

Using a script file

Create a file names mou in your /usr/local/bin (or any other path that is exported in $PATH) with the following content:

#! /bin/sh
open -a "$@"

After the file is created add execution rights via:

chmod +x /usr/local/bin/mou

Open it

Now you can just do:

mou []