Erich Smith | 17aaa9c | 2012-05-21 23:52:47 -0400 | [diff] [blame] | 1 | cite 'about-alias' |
| 2 | about-alias 'osx-specific aliases' |
Robert R Evans | 2010f01 | 2010-10-10 09:24:19 -0700 | [diff] [blame] | 3 | |
| 4 | # Desktop Programs |
| 5 | alias fireworks="open -a '/Applications/Adobe Fireworks CS3/Adobe Fireworks CS3.app'" |
| 6 | alias photoshop="open -a '/Applications/Adobe Photoshop CS3/Adobe Photoshop.app'" |
| 7 | alias preview="open -a '$PREVIEW'" |
Vaibhav Mishra | 1a4f814 | 2013-11-28 22:53:37 +0530 | [diff] [blame] | 8 | alias xcode="open -a '/Applications/XCode.app'" |
Robert R Evans | 2010f01 | 2010-10-10 09:24:19 -0700 | [diff] [blame] | 9 | alias filemerge="open -a '/Developer/Applications/Utilities/FileMerge.app'" |
| 10 | alias safari="open -a safari" |
| 11 | alias firefox="open -a firefox" |
Mark Szymanski | 46ba431 | 2010-10-17 10:01:15 -0500 | [diff] [blame] | 12 | alias chrome="open -a google\ chrome" |
Mark Szymanski | 56a14b2 | 2010-10-11 20:43:53 -0500 | [diff] [blame] | 13 | alias chromium="open -a chromium" |
Robert R Evans | 2010f01 | 2010-10-10 09:24:19 -0700 | [diff] [blame] | 14 | alias dashcode="open -a dashcode" |
| 15 | alias f='open -a Finder ' |
Jeraimee Hughes | 8682843 | 2012-08-01 14:03:09 -0400 | [diff] [blame] | 16 | alias fh='open -a Finder .' |
Mark Szymanski | 1c1444f | 2011-01-19 16:15:24 -0600 | [diff] [blame] | 17 | alias textedit='open -a TextEdit' |
Mark Szymanski | b4d7734 | 2011-01-20 11:05:50 -0600 | [diff] [blame] | 18 | alias hex='open -a "Hex Fiend"' |
Charles Celerier | 3dd8663 | 2014-04-23 19:33:11 -0400 | [diff] [blame^] | 19 | alias skpye='open -a Skype' |
Robert R Evans | 2010f01 | 2010-10-10 09:24:19 -0700 | [diff] [blame] | 20 | |
| 21 | if [ -s /usr/bin/firefox ] ; then |
| 22 | unalias firefox |
| 23 | fi |
Nils Winkler | 6ce8a3e | 2012-06-06 11:32:08 +0200 | [diff] [blame] | 24 | |
Nils Winkler | fd29ff1 | 2012-06-25 12:16:53 +0200 | [diff] [blame] | 25 | # Requires growlnotify, which can be found in the Growl DMG under "Extras" |
Nils Winkler | 6ce8a3e | 2012-06-06 11:32:08 +0200 | [diff] [blame] | 26 | alias grnot='growlnotify -s -t Terminal -m "Done"' |
Mark Rickert | 0cfec65 | 2013-04-09 09:14:40 -0400 | [diff] [blame] | 27 | |
| 28 | # Get rid of those pesky .DS_Store files recursively |
| 29 | alias dsclean='find . -type f -name .DS_Store -print0 | xargs -0 rm' |
| 30 | |
| 31 | # Track who is listening to your iTunes music |
| 32 | alias whotunes='lsof -r 2 -n -P -F n -c iTunes -a -i TCP@`hostname`:3689' |
| 33 | |
| 34 | # Flush your dns cache |
| 35 | alias flush='dscacheutil -flushcache' |