aboutsummaryrefslogtreecommitdiff
path: root/modules/ext/shell.js
diff options
context:
space:
mode:
authorAgando <roduccomm@gmail.com>2026-06-08 18:01:06 +0200
committerAgando <roduccomm@gmail.com>2026-06-08 18:01:06 +0200
commitb562e1491513163921593985f3542d4ee8ae0e75 (patch)
treef768a2378d3c09b3685a7bf42a9fc4dec71ef31c /modules/ext/shell.js
parentb9485bae5c2e62fa9c1b1c56d0f75be67cb47c37 (diff)
auto: 2026-06-08_18:00 changes
Diffstat (limited to 'modules/ext/shell.js')
-rw-r--r--modules/ext/shell.js2
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();
}