Create a gist now

Instantly share code, notes, and snippets.

@rking /.guardrc Secret
Created Sep 17, 2012

What would you like to do?
# ~/.guardrc to mimic the abbreviated commands of guard ≤ 1.3.2
%w(help reload change show notification pause exit).each do |full_cmd|
Pry.commands.alias_command full_cmd[0].chr, full_cmd
Pry.commands.block_command /^$/, 'Hit Enter to run all tests' do
Pry.run_command 'all'
# vim:ft=ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment