From e0c0cd17bd9729d9b8c99b4791d4fedca315d8b5 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sat, 21 Oct 2017 22:11:27 +0200 Subject: [PATCH] Handle multiple arguments in custom shell --- terminus-terminal/src/shells/custom.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/terminus-terminal/src/shells/custom.ts b/terminus-terminal/src/shells/custom.ts index d12514c7..7a6fa0b1 100644 --- a/terminus-terminal/src/shells/custom.ts +++ b/terminus-terminal/src/shells/custom.ts @@ -12,10 +12,12 @@ export class CustomShellProvider extends ShellProvider { } async provide (): Promise { + 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), }] } } -- GitLab