Skip to content

Commit

Permalink
Merge pull request #88041 from neonsea/history-pollution
Browse files Browse the repository at this point in the history
Avoid polluting shell history with debugger commands
  • Loading branch information
weinand authored Feb 13, 2020
2 parents d05b784 + 23e3a12 commit e2ee9ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vs/workbench/contrib/debug/node/terminals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ export function prepareCommand(args: DebugProtocol.RunInTerminalRequestArguments
}

let quote: (s: string) => string;
let command = '';
// begin command with a space to avoid polluting shell history
let command = ' ';

switch (shellType) {

Expand Down

0 comments on commit e2ee9ea

Please sign in to comment.