#!/bin/bash if ! [ -f $1] then touch $1 fi open -a /Applications/Sublime\ Text\ 2.app $1