Created
October 5, 2017 04:06
-
-
Save AAlfarho/f3ec09dd4fe88a26208ffac56da09c3d to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
alias sl="ls" | |
alias ls="ls -G" | |
alias irb="pry" | |
alias be="bundle exec" | |
alias gaa="git add -A" | |
alias gcm="git commit -m " | |
alias ber="bundle exec rspec" | |
alias bi="bundle install" | |
alias rdb="rails db" | |
alias rdbs="rails db:setup" | |
alias rdbsd="rails db:seed" | |
alias rdbm="rails db:migrate" | |
alias rgm="rails g model" | |
alias rgc="rails g controller" | |
alias rgma="rails g mailer" | |
alias rg="rails g" | |
alias rr="rails routes" | |
alias axo="cd ~/AppAcademy/Axo-Music/" | |
# make `g` behave like `git status` with no args, or `git` with args | |
g () { | |
if [ $# -eq 0 ] | |
then | |
git status | |
else | |
git "$@" | |
fi | |
} | |
__git_complete g _git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment