# File lib/pry/command_set.rb, line 149 def after_command(name, &block) cmd = find_command_by_name_or_listing(name) cmd.hooks[:after] << block end