diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/shell b/src/main/resources/assets/computercraft/lua/rom/programs/shell index 59728ed62..de7dfc22d 100644 --- a/src/main/resources/assets/computercraft/lua/rom/programs/shell +++ b/src/main/resources/assets/computercraft/lua/rom/programs/shell @@ -180,7 +180,11 @@ function shell.programs( _bIncludeHidden ) -- Sort and return local tItemList = {} for sItem, b in pairs( tItems ) do - table.insert( tItemList, sItem ) + if sItem:sub(-4) == ".lua" then + table.insert( tItemList, sItem:sub(1,-5) ) + else + table.insert( tItemList, sItem ) + end end table.sort( tItemList ) return tItemList