Skip to content

Instantly share code, notes, and snippets.

@tatey
Created January 28, 2009 04:43
Show Gist options
  • Save tatey/53821 to your computer and use it in GitHub Desktop.
Save tatey/53821 to your computer and use it in GitHub Desktop.
# Macports
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH
# Git-core bash completion
if [ -f /opt/local/etc/bash_completion ]; then
. /opt/local/etc/bash_completion
fi
# Use TextMate as default editor
export EDITOR="/opt/local/bin/mate -w"
# Launchctrl for MySQL
alias mysql_stop="sudo launchctl unload -w /opt/local/etc/LaunchDaemons/org.macports.mysql5/org.macports.mysql5.plist"
alias mysql_start="sudo launchctl load -w /opt/local/etc/LaunchDaemons/org.macports.mysql5/org.macports.mysql5.plist"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment