Created
July 1, 2015 01:43
-
-
Save bryanculver/c6ab802c09f88ba0387c to your computer and use it in GitHub Desktop.
Open iA Writer From Command Line, Regardless If File Exists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this to your ~/.zshrc config file. | |
# Builds upon: | |
# https://gist.github.com/adamstac/4271657 | |
# https://gist.github.com/alexcabrera/3345929 | |
# https://gist.github.com/brendanjerwin/996464 | |
ia() { (test -e $1 || touch $1) && open $1 -a /Applications/iA\ Writer\ Pro.app } | |
# Tested in zsh, should work in other shells as well |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment