diff --git a/ruby/shell/builtins.rb b/ruby/shell/builtins.rb index 6c57d80..6c7749f 100644 --- a/ruby/shell/builtins.rb +++ b/ruby/shell/builtins.rb @@ -66,9 +66,14 @@ module Shell 0 end - def bulitin_pwd(_args) + def builtin_pwd(_args) puts Dir.pwd 0 end + + def builtin_clear(_args) + print "\033[2J" + 0 + end end end