Created
April 12, 2011 19:33
-
-
Save chadhietala/916214 to your computer and use it in GitHub Desktop.
.bashrc stuff
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
# set permissions for apache | |
setPermissions () { | |
sudo chown -R apache $1 | |
sudo chgrp -R web $1 | |
sudo chmod -R 775 $1 | |
} | |
# Hide and show hidden files | |
alias showhidden="defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder" | |
alias hidehidden="defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder" | |
# Open current directory in textmate | |
alias mateopen='open -a TextMate .' | |
# Application aliases | |
alias fireworks="open -a '/Applications/Adobe Fireworks CS5/Adobe Fireworks CS5.app'" | |
alias photoshop="open -a '/Applications/Adobe Photoshop CS5/Adobe Photoshop CS5.app'" | |
alias preview="open -a '$PREVIEW'" | |
alias xcode="open -a '/Developer/Applications/Xcode.app'" | |
alias filemerge="open -a '/Developer/Applications/Utilities/FileMerge.app'" | |
alias safari="open -a safari" | |
alias firefox="open -a firefox" | |
alias chrome="open -a google\ chrome" | |
alias f='open -a Finder ' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment