update shell_command.rb to use _pry_.config.system

This commit is contained in:
Robert Gleeson 2014-02-07 01:52:12 +01:00
parent 15d4a77353
commit ebfa28a84a
1 changed files with 1 additions and 2 deletions

View File

@ -20,11 +20,10 @@ class Pry
process_cd parse_destination($1)
else
pass_block(cmd)
if command_block
command_block.call `#{cmd}`
else
Pry.config.system.call(output, cmd, _pry_)
_pry_.config.system.call(output, cmd, _pry_)
end
end
end