diff --git a/lib/shell/builtin-command.rb b/lib/shell/builtin-command.rb index e419a68..a6a9d23 100644 --- a/lib/shell/builtin-command.rb +++ b/lib/shell/builtin-command.rb @@ -10,7 +10,7 @@ # # -require "shell/filter" +require_relative "filter" class Shell class BuiltInCommand < Filter diff --git a/lib/shell/command-processor.rb b/lib/shell/command-processor.rb index b52cb00..00357e0 100644 --- a/lib/shell/command-processor.rb +++ b/lib/shell/command-processor.rb @@ -12,10 +12,10 @@ require "e2mmap" -require "shell/error" -require "shell/filter" -require "shell/system-command" -require "shell/builtin-command" +require_relative "error" +require_relative "filter" +require_relative "system-command" +require_relative "builtin-command" class Shell # In order to execute a command on your OS, you need to define it as a diff --git a/lib/shell/system-command.rb b/lib/shell/system-command.rb index af22ed9..767a9ee 100644 --- a/lib/shell/system-command.rb +++ b/lib/shell/system-command.rb @@ -10,7 +10,7 @@ # # -require "shell/filter" +require_relative "filter" class Shell class SystemCommand < Filter