diff --git a/src/main/resources/assets/computercraft/lua/bios.lua b/src/main/resources/assets/computercraft/lua/bios.lua index 1a89c952e..a3ac52196 100644 --- a/src/main/resources/assets/computercraft/lua/bios.lua +++ b/src/main/resources/assets/computercraft/lua/bios.lua @@ -856,12 +856,12 @@ local ok, err = pcall( function() function() local sShell if term.isColour() and settings.get( "bios.use_multishell" ) then - sShell = "rom/programs/advanced/multishell" + sShell = "rom/programs/advanced/multishell.lua" else - sShell = "rom/programs/shell" + sShell = "rom/programs/shell.lua" end os.run( {}, sShell ) - os.run( {}, "rom/programs/shutdown" ) + os.run( {}, "rom/programs/shutdown.lua" ) end, function() rednet.run() diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/advanced/bg b/src/main/resources/assets/computercraft/lua/rom/programs/advanced/bg.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/advanced/bg rename to src/main/resources/assets/computercraft/lua/rom/programs/advanced/bg.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/advanced/fg b/src/main/resources/assets/computercraft/lua/rom/programs/advanced/fg.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/advanced/fg rename to src/main/resources/assets/computercraft/lua/rom/programs/advanced/fg.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/advanced/multishell b/src/main/resources/assets/computercraft/lua/rom/programs/advanced/multishell.lua similarity index 99% rename from src/main/resources/assets/computercraft/lua/rom/programs/advanced/multishell rename to src/main/resources/assets/computercraft/lua/rom/programs/advanced/multishell.lua index 15c58cb4f..8e7f2dc9d 100644 --- a/src/main/resources/assets/computercraft/lua/rom/programs/advanced/multishell +++ b/src/main/resources/assets/computercraft/lua/rom/programs/advanced/multishell.lua @@ -216,7 +216,7 @@ setMenuVisible( false ) selectProcess( launchProcess( { ["shell"] = shell, ["multishell"] = multishell, -}, "/rom/programs/shell" ) ) +}, "/rom/programs/shell.lua" ) ) redrawMenu() -- Run processes diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/alias b/src/main/resources/assets/computercraft/lua/rom/programs/alias.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/alias rename to src/main/resources/assets/computercraft/lua/rom/programs/alias.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/apis b/src/main/resources/assets/computercraft/lua/rom/programs/apis.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/apis rename to src/main/resources/assets/computercraft/lua/rom/programs/apis.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/cd b/src/main/resources/assets/computercraft/lua/rom/programs/cd.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/cd rename to src/main/resources/assets/computercraft/lua/rom/programs/cd.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/clear b/src/main/resources/assets/computercraft/lua/rom/programs/clear.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/clear rename to src/main/resources/assets/computercraft/lua/rom/programs/clear.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/command/commands b/src/main/resources/assets/computercraft/lua/rom/programs/command/commands.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/command/commands rename to src/main/resources/assets/computercraft/lua/rom/programs/command/commands.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/command/exec b/src/main/resources/assets/computercraft/lua/rom/programs/command/exec.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/command/exec rename to src/main/resources/assets/computercraft/lua/rom/programs/command/exec.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/copy b/src/main/resources/assets/computercraft/lua/rom/programs/copy.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/copy rename to src/main/resources/assets/computercraft/lua/rom/programs/copy.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/delete b/src/main/resources/assets/computercraft/lua/rom/programs/delete.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/delete rename to src/main/resources/assets/computercraft/lua/rom/programs/delete.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/drive b/src/main/resources/assets/computercraft/lua/rom/programs/drive.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/drive rename to src/main/resources/assets/computercraft/lua/rom/programs/drive.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/edit b/src/main/resources/assets/computercraft/lua/rom/programs/edit.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/edit rename to src/main/resources/assets/computercraft/lua/rom/programs/edit.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/eject b/src/main/resources/assets/computercraft/lua/rom/programs/eject.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/eject rename to src/main/resources/assets/computercraft/lua/rom/programs/eject.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/exit b/src/main/resources/assets/computercraft/lua/rom/programs/exit.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/exit rename to src/main/resources/assets/computercraft/lua/rom/programs/exit.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/paint b/src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/paint.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/paint rename to src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/paint.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/redirection b/src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/redirection.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/redirection rename to src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/redirection.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/fun/adventure b/src/main/resources/assets/computercraft/lua/rom/programs/fun/adventure.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/fun/adventure rename to src/main/resources/assets/computercraft/lua/rom/programs/fun/adventure.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/fun/dj b/src/main/resources/assets/computercraft/lua/rom/programs/fun/dj.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/fun/dj rename to src/main/resources/assets/computercraft/lua/rom/programs/fun/dj.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/fun/hello b/src/main/resources/assets/computercraft/lua/rom/programs/fun/hello.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/fun/hello rename to src/main/resources/assets/computercraft/lua/rom/programs/fun/hello.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/fun/worm b/src/main/resources/assets/computercraft/lua/rom/programs/fun/worm.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/fun/worm rename to src/main/resources/assets/computercraft/lua/rom/programs/fun/worm.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/gps b/src/main/resources/assets/computercraft/lua/rom/programs/gps.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/gps rename to src/main/resources/assets/computercraft/lua/rom/programs/gps.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/help b/src/main/resources/assets/computercraft/lua/rom/programs/help.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/help rename to src/main/resources/assets/computercraft/lua/rom/programs/help.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/http/pastebin b/src/main/resources/assets/computercraft/lua/rom/programs/http/pastebin.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/http/pastebin rename to src/main/resources/assets/computercraft/lua/rom/programs/http/pastebin.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/http/wget b/src/main/resources/assets/computercraft/lua/rom/programs/http/wget.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/http/wget rename to src/main/resources/assets/computercraft/lua/rom/programs/http/wget.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/id b/src/main/resources/assets/computercraft/lua/rom/programs/id.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/id rename to src/main/resources/assets/computercraft/lua/rom/programs/id.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/label b/src/main/resources/assets/computercraft/lua/rom/programs/label.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/label rename to src/main/resources/assets/computercraft/lua/rom/programs/label.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/list b/src/main/resources/assets/computercraft/lua/rom/programs/list.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/list rename to src/main/resources/assets/computercraft/lua/rom/programs/list.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/lua b/src/main/resources/assets/computercraft/lua/rom/programs/lua.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/lua rename to src/main/resources/assets/computercraft/lua/rom/programs/lua.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/mkdir b/src/main/resources/assets/computercraft/lua/rom/programs/mkdir.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/mkdir rename to src/main/resources/assets/computercraft/lua/rom/programs/mkdir.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/monitor b/src/main/resources/assets/computercraft/lua/rom/programs/monitor.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/monitor rename to src/main/resources/assets/computercraft/lua/rom/programs/monitor.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/move b/src/main/resources/assets/computercraft/lua/rom/programs/move.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/move rename to src/main/resources/assets/computercraft/lua/rom/programs/move.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/peripherals b/src/main/resources/assets/computercraft/lua/rom/programs/peripherals.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/peripherals rename to src/main/resources/assets/computercraft/lua/rom/programs/peripherals.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/pocket/falling b/src/main/resources/assets/computercraft/lua/rom/programs/pocket/falling.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/pocket/falling rename to src/main/resources/assets/computercraft/lua/rom/programs/pocket/falling.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/programs b/src/main/resources/assets/computercraft/lua/rom/programs/programs.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/programs rename to src/main/resources/assets/computercraft/lua/rom/programs/programs.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/reboot b/src/main/resources/assets/computercraft/lua/rom/programs/reboot.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/reboot rename to src/main/resources/assets/computercraft/lua/rom/programs/reboot.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/rednet/chat b/src/main/resources/assets/computercraft/lua/rom/programs/rednet/chat.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/rednet/chat rename to src/main/resources/assets/computercraft/lua/rom/programs/rednet/chat.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/rednet/repeat b/src/main/resources/assets/computercraft/lua/rom/programs/rednet/repeat.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/rednet/repeat rename to src/main/resources/assets/computercraft/lua/rom/programs/rednet/repeat.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/redstone b/src/main/resources/assets/computercraft/lua/rom/programs/redstone.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/redstone rename to src/main/resources/assets/computercraft/lua/rom/programs/redstone.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/rename b/src/main/resources/assets/computercraft/lua/rom/programs/rename.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/rename rename to src/main/resources/assets/computercraft/lua/rom/programs/rename.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/set b/src/main/resources/assets/computercraft/lua/rom/programs/set.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/set rename to src/main/resources/assets/computercraft/lua/rom/programs/set.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/shell b/src/main/resources/assets/computercraft/lua/rom/programs/shell.lua similarity index 98% rename from src/main/resources/assets/computercraft/lua/rom/programs/shell rename to src/main/resources/assets/computercraft/lua/rom/programs/shell.lua index 7daffa9d4..ac21acc4a 100644 --- a/src/main/resources/assets/computercraft/lua/rom/programs/shell +++ b/src/main/resources/assets/computercraft/lua/rom/programs/shell.lua @@ -316,10 +316,10 @@ if multishell then local sCommand = tWords[1] if sCommand then local sPath = shell.resolveProgram( sCommand ) - if sPath == "rom/programs/shell" then + if sPath == "rom/programs/shell.lua" then return multishell.launch( tEnv, sPath, table.unpack( tWords, 2 ) ) elseif sPath ~= nil then - return multishell.launch( tEnv, "rom/programs/shell", sCommand, table.unpack( tWords, 2 ) ) + return multishell.launch( tEnv, "rom/programs/shell.lua", sCommand, table.unpack( tWords, 2 ) ) else printError( "No such program" ) end @@ -347,7 +347,7 @@ else -- Run the startup program if parentShell == nil then - shell.run( "/rom/startup" ) + shell.run( "/rom/startup.lua" ) end -- Read commands and execute them diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/shutdown b/src/main/resources/assets/computercraft/lua/rom/programs/shutdown.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/shutdown rename to src/main/resources/assets/computercraft/lua/rom/programs/shutdown.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/time b/src/main/resources/assets/computercraft/lua/rom/programs/time.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/time rename to src/main/resources/assets/computercraft/lua/rom/programs/time.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/turtle/craft b/src/main/resources/assets/computercraft/lua/rom/programs/turtle/craft.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/turtle/craft rename to src/main/resources/assets/computercraft/lua/rom/programs/turtle/craft.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/turtle/dance b/src/main/resources/assets/computercraft/lua/rom/programs/turtle/dance.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/turtle/dance rename to src/main/resources/assets/computercraft/lua/rom/programs/turtle/dance.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/turtle/equip b/src/main/resources/assets/computercraft/lua/rom/programs/turtle/equip.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/turtle/equip rename to src/main/resources/assets/computercraft/lua/rom/programs/turtle/equip.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/turtle/excavate b/src/main/resources/assets/computercraft/lua/rom/programs/turtle/excavate.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/turtle/excavate rename to src/main/resources/assets/computercraft/lua/rom/programs/turtle/excavate.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/turtle/go b/src/main/resources/assets/computercraft/lua/rom/programs/turtle/go.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/turtle/go rename to src/main/resources/assets/computercraft/lua/rom/programs/turtle/go.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/turtle/refuel b/src/main/resources/assets/computercraft/lua/rom/programs/turtle/refuel.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/turtle/refuel rename to src/main/resources/assets/computercraft/lua/rom/programs/turtle/refuel.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/turtle/tunnel b/src/main/resources/assets/computercraft/lua/rom/programs/turtle/tunnel.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/turtle/tunnel rename to src/main/resources/assets/computercraft/lua/rom/programs/turtle/tunnel.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/turtle/turn b/src/main/resources/assets/computercraft/lua/rom/programs/turtle/turn.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/turtle/turn rename to src/main/resources/assets/computercraft/lua/rom/programs/turtle/turn.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/turtle/unequip b/src/main/resources/assets/computercraft/lua/rom/programs/turtle/unequip.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/turtle/unequip rename to src/main/resources/assets/computercraft/lua/rom/programs/turtle/unequip.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/type b/src/main/resources/assets/computercraft/lua/rom/programs/type.lua similarity index 100% rename from src/main/resources/assets/computercraft/lua/rom/programs/type rename to src/main/resources/assets/computercraft/lua/rom/programs/type.lua diff --git a/src/main/resources/assets/computercraft/lua/rom/startup b/src/main/resources/assets/computercraft/lua/rom/startup.lua similarity index 79% rename from src/main/resources/assets/computercraft/lua/rom/startup rename to src/main/resources/assets/computercraft/lua/rom/startup.lua index 2e7089d9a..886739090 100644 --- a/src/main/resources/assets/computercraft/lua/rom/startup +++ b/src/main/resources/assets/computercraft/lua/rom/startup.lua @@ -168,32 +168,32 @@ local function completeSet( shell, nIndex, sText, tPreviousText ) return completeMultipleChoice( sText, settings.getNames(), true ) end end -shell.setCompletionFunction( "rom/programs/alias", completeAlias ) -shell.setCompletionFunction( "rom/programs/cd", completeDir ) -shell.setCompletionFunction( "rom/programs/copy", completeEitherEither ) -shell.setCompletionFunction( "rom/programs/delete", completeEither ) -shell.setCompletionFunction( "rom/programs/drive", completeDir ) -shell.setCompletionFunction( "rom/programs/edit", completeFile ) -shell.setCompletionFunction( "rom/programs/eject", completePeripheral ) -shell.setCompletionFunction( "rom/programs/gps", completeGPS ) -shell.setCompletionFunction( "rom/programs/help", completeHelp ) -shell.setCompletionFunction( "rom/programs/id", completePeripheral ) -shell.setCompletionFunction( "rom/programs/label", completeLabel ) -shell.setCompletionFunction( "rom/programs/list", completeDir ) -shell.setCompletionFunction( "rom/programs/mkdir", completeFile ) -shell.setCompletionFunction( "rom/programs/monitor", completeMonitor ) -shell.setCompletionFunction( "rom/programs/move", completeEitherEither ) -shell.setCompletionFunction( "rom/programs/redstone", completeRedstone ) -shell.setCompletionFunction( "rom/programs/rename", completeEitherEither ) -shell.setCompletionFunction( "rom/programs/shell", completeProgram ) -shell.setCompletionFunction( "rom/programs/type", completeEither ) -shell.setCompletionFunction( "rom/programs/set", completeSet ) -shell.setCompletionFunction( "rom/programs/advanced/bg", completeProgram ) -shell.setCompletionFunction( "rom/programs/advanced/fg", completeProgram ) -shell.setCompletionFunction( "rom/programs/fun/dj", completeDJ ) -shell.setCompletionFunction( "rom/programs/fun/advanced/paint", completeFile ) -shell.setCompletionFunction( "rom/programs/http/pastebin", completePastebin ) -shell.setCompletionFunction( "rom/programs/rednet/chat", completeChat ) +shell.setCompletionFunction( "rom/programs/alias.lua", completeAlias ) +shell.setCompletionFunction( "rom/programs/cd.lua", completeDir ) +shell.setCompletionFunction( "rom/programs/copy.lua", completeEitherEither ) +shell.setCompletionFunction( "rom/programs/delete.lua", completeEither ) +shell.setCompletionFunction( "rom/programs/drive.lua", completeDir ) +shell.setCompletionFunction( "rom/programs/edit.lua", completeFile ) +shell.setCompletionFunction( "rom/programs/eject.lua", completePeripheral ) +shell.setCompletionFunction( "rom/programs/gps.lua", completeGPS ) +shell.setCompletionFunction( "rom/programs/help.lua", completeHelp ) +shell.setCompletionFunction( "rom/programs/id.lua", completePeripheral ) +shell.setCompletionFunction( "rom/programs/label.lua", completeLabel ) +shell.setCompletionFunction( "rom/programs/list.lua", completeDir ) +shell.setCompletionFunction( "rom/programs/mkdir.lua", completeFile ) +shell.setCompletionFunction( "rom/programs/monitor.lua", completeMonitor ) +shell.setCompletionFunction( "rom/programs/move.lua", completeEitherEither ) +shell.setCompletionFunction( "rom/programs/redstone.lua", completeRedstone ) +shell.setCompletionFunction( "rom/programs/rename.lua", completeEitherEither ) +shell.setCompletionFunction( "rom/programs/shell.lua", completeProgram ) +shell.setCompletionFunction( "rom/programs/type.lua", completeEither ) +shell.setCompletionFunction( "rom/programs/set.lua", completeSet ) +shell.setCompletionFunction( "rom/programs/advanced/bg.lua", completeProgram ) +shell.setCompletionFunction( "rom/programs/advanced/fg.lua", completeProgram ) +shell.setCompletionFunction( "rom/programs/fun/dj.lua", completeDJ ) +shell.setCompletionFunction( "rom/programs/fun/advanced/paint.lua", completeFile ) +shell.setCompletionFunction( "rom/programs/http/pastebin.lua", completePastebin ) +shell.setCompletionFunction( "rom/programs/rednet/chat.lua", completeChat ) -- Run autorun files if fs.exists( "/rom/autorun" ) and fs.isDir( "/rom/autorun" ) then