Skip to content

Commit

Permalink
Remove windows shellArgs config
Browse files Browse the repository at this point in the history
This doesn't actually work due to an upstream issue

Related #8429
  • Loading branch information
Tyriar committed Jun 30, 2016
1 parent f0419d4 commit 0acee44
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,6 @@ configurationRegistry.registerConfiguration({
'type': 'string',
'default': TERMINAL_DEFAULT_SHELL_WINDOWS
},
'terminal.integrated.shellArgs.windows': {
'description': nls.localize('terminal.integrated.shellArgs.windows', "The command line arguments to use when on the Windows terminal."),
'type': 'array',
'items': {
'type': 'string'
},
'default': []
},
'terminal.integrated.fontFamily': {
'description': nls.localize('terminal.integrated.fontFamily', "Controls the font family of the terminal, this defaults to editor.fontFamily's value."),
'type': 'string'
Expand Down
3 changes: 1 addition & 2 deletions src/vs/workbench/parts/terminal/electron-browser/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ export interface ITerminalConfiguration {
},
shellArgs: {
linux: string[],
osx: string[],
windows: string[]
osx: string[]
},
fontFamily: string,
fontSize: number,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ export class TerminalConfigHelper {
};
if (this.platform === Platform.Windows) {
shell.executable = config.terminal.integrated.shell.windows;
shell.args = config.terminal.integrated.shellArgs.windows;
} else if (this.platform === Platform.Mac) {
shell.executable = config.terminal.integrated.shell.osx;
shell.args = config.terminal.integrated.shellArgs.osx;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@ suite('Workbench - TerminalConfigHelper', () => {
integrated: {
shell: {
windows: 'foo'
},
shellArgs: {
windows: []
}
}
}
Expand Down

0 comments on commit 0acee44

Please sign in to comment.