zsh command

This commit is contained in:
b1ek 2023-03-18 12:46:45 +10:00
parent bf6fb94e7c
commit 7ef5034e1d
Signed by: blek
GPG Key ID: 14546221E3595D0C
2 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,7 @@ let cmds = {
'wget': require('./wget'), 'wget': require('./wget'),
'export_file': require('./export_file'), 'export_file': require('./export_file'),
'import_file': require('./import_file'), 'import_file': require('./import_file'),
'zsh': require('./zsh'),
// alias l='ls -l' // alias l='ls -l'
'l': (a,t) => {require('./ls')([...a, '-l'], t)}, 'l': (a,t) => {require('./ls')([...a, '-l'], t)},

View File

@ -0,0 +1,8 @@
const { Terminal } = require("xterm");
/**
* @param {Terminal} terminal
*/
module.exports = (argv, terminal) => {
window.location.href = 'https://youtu.be/dQw4w9WgXcQ?t=3'
}