Skip to content

Instantly share code, notes, and snippets.

@jrob00
Created March 21, 2012 00:12
Show Gist options
  • Save jrob00/2142863 to your computer and use it in GitHub Desktop.
Save jrob00/2142863 to your computer and use it in GitHub Desktop.
.profile
Jasons-iMac:~ jason$ cat .profile
# This loads RVM into a shell session.
[[ -s "/Users/jason/.rvm/scripts/rvm" ]] && source "/Users/jason/.rvm/scripts/rvm"
#export PATH=$PATH:/Applications/MAMP/Library/bin
# aliases
httpd() {
if [[ $@ == "start" ]]; then
command sudo /Applications/MAMP/Library/bin/apachectl start;
elif [[ $@ == "start" ]]; then
command sudo /Applications/MAMP/Library/bin/apachectl stop;
elif [[ $@ == "restart" ]]; then
command sudo /Applications/MAMP/Library/bin/apachectl restart;
else
command sudo /Applications/MAMP/Library/bin/apachectl restart;
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment