Wednesday, June 13, 2007

Run preview easily from bash on Mac OS X

add the following to your .profile:

preview(){
open -a /Applications/Preview.app/ "$1"
}

1 comment:

new said...

probably easier just to use open [filename ] all the time really...