Skip to content

Commit

Permalink
investigate Gitbash
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Feb 19, 2025
1 parent 42962ce commit 181193f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class TerminalDeactivateService implements ITerminalDeactivateService {
return;
}
const shellType = identifyShellFromShellPath(shell);
const terminal = this.terminalManager.createTerminal({
const terminal = this.terminalManager.createTerminal({ // maybe cwd is getting carried over from here?
name: `Python ${shellType} Deactivate`,
shellPath: shell,
hideFromUser: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class TerminalIndicatorPrompt implements IExtensionSingleActivationServic
// Only show this notification for basic terminals created using the '+' button.
return;
}
const cwd =
const cwd = /// I Dont think this sets the cwd, it just recies it from terminal.creationOptions
'cwd' in terminal.creationOptions && terminal.creationOptions.cwd
? terminal.creationOptions.cwd
: this.activeResourceService.getActiveResource();
Expand Down
2 changes: 1 addition & 1 deletion src/client/terminals/envCollectionActivation/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export class TerminalEnvVarCollectionService implements IExtensionActivationServ
* Call this once we know terminal prompt is set correctly for terminal owned by this resource.
*/
private terminalPromptIsCorrect(resource: Resource) {
const key = this.getWorkspaceFolder(resource)?.index;
const key = this.getWorkspaceFolder(resource)?.index; // Suspicious??
this.isPromptSet.set(key, true);
}

Expand Down

0 comments on commit 181193f

Please sign in to comment.