diff --git a/src/utils/bin/commands.ts b/src/utils/bin/commands.ts index 338c9f8..3fdd8cf 100644 --- a/src/utils/bin/commands.ts +++ b/src/utils/bin/commands.ts @@ -91,6 +91,11 @@ export const reddit = async (args: string[]): Promise => { return `Searching reddit for ${args.join(' ')}...`; }; +export const stackoverflow = async (args: string[]): Promise => { + window.open(`https://stackoverflow.com/search?q=${args.join(' ')}`); + return `Searching stack overflow for ${args.join(' ')}...`; +}; + // Typical linux commands export const echo = async (args: string[]): Promise => { return args.join(' ');