feat: actually add vscode

I understand it is a meme command intended to be a joke, but vscode has
a protocol handler which means we can actually open it from the browser.
pull/24/head
Sami Altamimi 3 years ago
parent 2e84c2351c
commit ddad0e1ea4
No known key found for this signature in database
GPG Key ID: C0E547C7671AD504

@ -138,6 +138,11 @@ export const emacs = async (args?: string[]): Promise<string> => {
return `you know what? just use vscode.`;
};
export const vscode = async (args?: string[]): Promise<string> => {
window.open(`vscode://`);
return `opening god's favorite editor...`;
};
export const sudo = async (args?: string[]): Promise<string> => {
window.open('https://www.youtube.com/watch?v=dQw4w9WgXcQ', '_blank'); // ...I'm sorry
return `Permission denied: with little power comes... no responsibility? `;

Loading…
Cancel
Save