This is a simple script to launch iA Writer from the terminal. It is extremely useful for interacting with Github's own wiki system as it provides git
access.
curl -L https://raw.github.com/gist/2025540/4f3f094286468db2588f40345e6faaf07bd5af2a/ia > /usr/local/bin/ia && chmod u+x /usr/local/bin/ia
- Copy the script below to
/usr/local/bin
(or anywhere else where you store your custom executables) - Make it executable:
chmod u+x /usr/local/bin/ia
Simple launch
$ ia
Launch and open a file
$ ia Home.md
Launch multiple files
$ ia Home.md About.md FAQ.md
bash / OS/X folks might appreciate this version:
Then just put this function definition in your $HOME/.bash_login file (for example).