Created
December 3, 2013 22:47
-
-
Save aghyad/7778989 to your computer and use it in GitHub Desktop.
Some useful bash profile aliases
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
alias glog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" | |
alias mycukes= 'RAILS_ENV="development" bundle exec cucumber' | |
alias myspecs= 'RAILS_ENV="development" bundle exec rspec spec' | |
alias vim='vim +NERDTree' | |
alias rspecc='clear && bundle exec rspec' | |
alias drspecc='clear && RAILS_ENV=development bundle exec rspec' | |
alias mygit='git config --global user.name "SOME-NAME-HERE" && git config --global user.email SOME-EMAIL-HERE && echo "************" && echo "switched git user name to:" && git config user.name && echo "and git user email to:" && git config user.email && echo "************"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment