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/3605724/efcccacb59e5df271ddf603ac92da4deee2440df/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
edited to check if file/s exist and create if not