Created
September 15, 2010 13:09
-
-
Save catsby/580692 to your computer and use it in GitHub Desktop.
My .profile
This file contains hidden or 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
source ~/.cinderella.profile | |
source ~/.private.profile | |
source ~/.git-completion.bash # from git source contrib/completion | |
alias gf="/usr/local/bin/git-flow" | |
alias dirs="ls -al | grep '^d'" # show the dir's in the current dir | |
# cinderella ( http://www.atmos.org/cinderella/intro.html ) | |
# Runs things on load, which I don't want, so I edited the matching plist files | |
# in ~/Library/LaunchAgents and set 'RunAtLoad' and 'KeepAlive' to false | |
# opting to start them manually when needed. | |
alias apachectl='sudo apachectl' | |
alias mysqlstart='mysqld_safe --user=`whoami` &' | |
alias mysqlstop='mysqladmin -uroot shutdown' | |
alias pgstart='postgres -D /Users/clint/Developer/var/postgres -r /Users/clint/Developer/var/postgres/server.log 2>&1 &' | |
alias pgstop='pg_ctl -D /Users/clint/Developer/var/postgres stop' | |
alias devstart='apachectl start; mysqlstart' | |
alias devstop='sudo apachectl stop; mysqlstop; pgstop' | |
# make a diff file, view in Textmate (requires Textmate cli) | |
alias mdiff='git diff > d.diff && mate d.diff' | |
# wrap git in hub | |
alias git=hub | |
#alias for git svn | |
alias gs='git svn' | |
#alias for cucumber; I like to clear display first | |
alias cucumber='clear; cucumber' | |
alias rspec='clear; rspec' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment