summaryrefslogtreecommitdiff
path: root/lib/shell/command-processor.rb
diff options
context:
space:
mode:
-rw-r--r--lib/shell/command-processor.rb7
1 files changed, 6 insertions, 1 deletions
@@ -369,7 +369,12 @@ class Shell
for p in @shell.system_path
path = join(p, command)
- if FileTest.exist?(path)
@system_commands[command] = path
return path
end