# File lib/pry/command_set.rb, line 207 def alias_command(new_name, old_name, desc="") orig_command = find_command_by_name_or_listing(old_name) commands[new_name] = orig_command.dup commands[new_name].name = new_name commands[new_name].description = desc end