Permalink
Browse files

More aliases for Ruby.

  • Loading branch information...
1 parent d11913b commit ea6177a138ba699dfdbda6809e6c9183b0000ae8 @alexisbernard committed Mar 13, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 profile.sh
View
4 profile.sh
@@ -5,9 +5,11 @@ export HISTFILESIZE=100000
alias brb="bundle exec ruby"
alias brk="bundle exec rake"
+alias rbt="bundle exec ruby -I test"
+alias remigrate="brk db:drop && brk db:create && brk db:migrate && brk db:seed"
# http://askubuntu.com/questions/65096/how-to-clean-previous-kernels-after-update
-alias remove-outdated-kernels="dpkg -l 'linux-*' | sed '/^ii/!d;/'\"$(uname -r | sed \"s/\(.*\)-\([^0-9]\+\)/\1/\")\"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge"
+#alias remove-outdated-kernels="dpkg -l 'linux-*' | sed '/^ii/!d;/'\"$(uname -r | sed \"s/\(.*\)-\([^0-9]\+\)/\1/\")\"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

0 comments on commit ea6177a

Please sign in to comment.