Skip to content

Instantly share code, notes, and snippets.

@magnocosta
Last active October 6, 2016 04:15
Show Gist options
  • Save magnocosta/c1d6caebd8418c1c080f to your computer and use it in GitHub Desktop.
Save magnocosta/c1d6caebd8418c1c080f to your computer and use it in GitHub Desktop.
Helper script with alias for linux, I use this file with Vagrant for add alias on my virtual machine.
alias f='foreman start -f Procfile.dev'
alias c='rails c'
alias s='rails s -b 0.0.0.0'
alias bi='bundle install'
alias igh='echo "vagrant ssh -c \'su - admin -c cd /var/apps/$(basename $(pwd))/ && rake db:create && rake db:migrate && rspec --format progress && rubocop\'" > test-hook.sh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment