Skip to content
Create a gist now

Instantly share code, notes, and snippets.

@rking /.guardrc secret

# ~/.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
Something went wrong with that request. Please try again.