cash alternative shell added

This commit is contained in:
kepler155c@gmail.com
2019-12-05 11:37:31 -07:00
parent aeec3c688e
commit a2c8f0c655
4 changed files with 41 additions and 1 deletions

30
cash/.package Normal file
View File

@@ -0,0 +1,30 @@
{
title = 'ComputerCraft Advanced Shell',
repository = 'kepler155c/opus-apps/{{OPUS_BRANCH}}/cash',
description = [[A Bourne-compatible shell for ComputerCraft.
Features
Bash/sh-style command line
Tab completion (defaulting to file names where not supported)
Customizable prompts (including ANSI support)
Local & environment variables
Argument quoting
Multiple commands on one line with semicolons
Many built-in functions (including in-line Lua commands)
Arithmetic expansion
If, while, for statements
Function support
Shell scripting/shebangs
Background jobs
rc files
Restorable history
Partial CCKernel2 support
Full compatibility with CraftOS shell.lua]],
license = 'MIT',
install = [[
require('opus.alternate').set('shell', 'packages/cash/cash.lua')
]],
uninstall = [[
require('opus.alternate').remove('shell', 'packages/cash/cash.lua')
]],
}

7
cash/etc/apps.db Normal file
View File

@@ -0,0 +1,7 @@
{
[ "a3c2cb0e2228250d98c481128f6837ef93111d73" ] = {
title = "MBS",
category = "Apps",
run = ".mbs/bin/shell.lua",
},
}

1
cash/etc/fstab Normal file
View File

@@ -0,0 +1 @@
packages/cash/cash.lua urlfs https://raw.githubusercontent.com/MCJack123/cash/master/cash.lua