提交 e0c0cd17 编写于 作者: E Eugene Pankov 提交者: GitHub

Handle multiple arguments in custom shell

上级 e81e5034
......@@ -12,10 +12,12 @@ export class CustomShellProvider extends ShellProvider {
}
async provide (): Promise<IShell[]> {
let args = this.config.store.terminal.customShell.split(' ')
return [{
id: 'custom',
name: 'Custom',
command: this.config.store.terminal.customShell
command: args[0],
args: args.slice(1),
}]
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册