blob: 3a5f45a1e203ca1819a15e4956b1d959b651c252 [file] [log] [blame]
Erich Smith17aaa9c2012-05-21 23:52:47 -04001cite 'about-alias'
2about-alias 'osx-specific aliases'
Robert R Evans2010f012010-10-10 09:24:19 -07003
4# Desktop Programs
5alias fireworks="open -a '/Applications/Adobe Fireworks CS3/Adobe Fireworks CS3.app'"
6alias photoshop="open -a '/Applications/Adobe Photoshop CS3/Adobe Photoshop.app'"
7alias preview="open -a '$PREVIEW'"
Vaibhav Mishra1a4f8142013-11-28 22:53:37 +05308alias xcode="open -a '/Applications/XCode.app'"
Robert R Evans2010f012010-10-10 09:24:19 -07009alias filemerge="open -a '/Developer/Applications/Utilities/FileMerge.app'"
10alias safari="open -a safari"
11alias firefox="open -a firefox"
Mark Szymanski46ba4312010-10-17 10:01:15 -050012alias chrome="open -a google\ chrome"
Mark Szymanski56a14b22010-10-11 20:43:53 -050013alias chromium="open -a chromium"
Robert R Evans2010f012010-10-10 09:24:19 -070014alias dashcode="open -a dashcode"
15alias f='open -a Finder '
Jeraimee Hughes86828432012-08-01 14:03:09 -040016alias fh='open -a Finder .'
Mark Szymanski1c1444f2011-01-19 16:15:24 -060017alias textedit='open -a TextEdit'
Mark Szymanskib4d77342011-01-20 11:05:50 -060018alias hex='open -a "Hex Fiend"'
Robert R Evans2010f012010-10-10 09:24:19 -070019
20if [ -s /usr/bin/firefox ] ; then
21 unalias firefox
22fi
Nils Winkler6ce8a3e2012-06-06 11:32:08 +020023
Nils Winklerfd29ff12012-06-25 12:16:53 +020024# Requires growlnotify, which can be found in the Growl DMG under "Extras"
Nils Winkler6ce8a3e2012-06-06 11:32:08 +020025alias grnot='growlnotify -s -t Terminal -m "Done"'
Mark Rickert0cfec652013-04-09 09:14:40 -040026
27# Get rid of those pesky .DS_Store files recursively
28alias dsclean='find . -type f -name .DS_Store -print0 | xargs -0 rm'
29
30# Track who is listening to your iTunes music
31alias whotunes='lsof -r 2 -n -P -F n -c iTunes -a -i TCP@`hostname`:3689'
32
33# Flush your dns cache
34alias flush='dscacheutil -flushcache'