v0.7.0 - Added basic CLI tools: ls, cd, cp, mv, rm, lua
This commit is contained in:
+11
-1
@@ -2,7 +2,17 @@ local shellcfg = {
|
||||
["startupMessage"] = "\n │\n │ ".._OSVERSION.." running on ".._VERSION..'\n │ Welcome! Type "help" to get started.\n │\n ', -- message shown on startup
|
||||
["prompt"] = "\x1b[92m%s > \x1b[0m", -- shell prompt, %s will be replaced with working directory. example: "%s > " turns to "/current/working/directory > "
|
||||
["path"] = { -- default locations where programs will be run from
|
||||
"/halyde/apps/"}
|
||||
"/halyde/apps/"
|
||||
}, ["aliases"] = { -- shell command aliases
|
||||
["copy"] = "cp",
|
||||
["move"] = "mv",
|
||||
["rename"] = "mv",
|
||||
["ren"] = "mv",
|
||||
["dir"] = "ls",
|
||||
["man"] = "help",
|
||||
["del"] = "rm",
|
||||
[".."] = "cd .."
|
||||
}, ["defaultWorkingDirectory"] = "/home/" -- the working directory that gets set when halyde starts
|
||||
}
|
||||
|
||||
return shellcfg
|
||||
|
||||
Reference in New Issue
Block a user