diff options
Diffstat (limited to 'modules/ext/shell.js')
| -rw-r--r-- | modules/ext/shell.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/ext/shell.js b/modules/ext/shell.js index e87c37c..55d66de 100644 --- a/modules/ext/shell.js +++ b/modules/ext/shell.js @@ -23,6 +23,7 @@ class ShellModule { 'unset': 'unset <var> — Remove a shell variable', 'script': 'script <path.sh> — Run a shell script from VFS', '$': '$ <command> — Execute with shell parsing (default: auto-detected)', + 'sh': 'sh <path.sh> — Run a shell script from VFS (alias for script)', 'set': 'set — List all shell variables', }; } @@ -31,6 +32,7 @@ class ShellModule { this.commands['export'] = (args) => this._cmdExport(args); this.commands['unset'] = (args) => this._cmdUnset(args); this.commands['script'] = (args) => this._cmdScript(args); + this.commands['sh'] = (args) => this._cmdScript(args); this.commands['set'] = () => this._cmdSet(); } |