mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-24 04:17:59 +00:00
Handle multiple arguments in custom shell
This commit is contained in:
@@ -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),
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user