Last active
August 5, 2017 08:25
-
-
Save so77id/0d87dde786985e6d31c93e80e9838735 to your computer and use it in GitHub Desktop.
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
#paths | |
export PATH="$HOME/.rbenv/versions/2.3.1/bin:$PATH" | |
export PATH=/usr/local/bin:$PATH | |
export PATH=LOCAL_PATH:$PATH | |
# go | |
export GOROOT=/usr/local/opt/go/libexec | |
export GOPATH=$HOME/Desktop/workspace/golang | |
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin | |
#COMMANDS | |
# by papi vera | |
# Only MacOSX | |
ip () { | |
ifconfig | grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} inet | grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} broadcast | awk '{print $2}' | |
} | |
# GIT COMMANDS | |
alias gcd="git checkout development" | |
#RAILS COMMANDS | |
alias rdbd="bundle exec rake db:drop" | |
alias rdbc="bundle exec rake db:create" | |
alias rdbm="bundle exec rake db:migrate" | |
alias rdbs="bundle exec rake db:seed" | |
alias rdbr="bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rake db:seed" | |
alias bea="bundle exec annotate" | |
alias berr="bundle exec rake routes" | |
#Sidekiq | |
alias bes="bundle exec sidekiq" | |
#PSQL command | |
alias psqls="pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start" | |
#neo vim | |
alias v="nvim" | |
#ZSH | |
alias reload="source ~/.zshrc" | |
alias vzshrc="v ~/.zshrc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment