Skip to content

Commit 38f046d

Browse files
authored
Remove redundant shell activation and deactivation for FISH in getShellActivationCommands (#1097)
fixes #1096
1 parent 2693262 commit 38f046d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/managers/common/utils.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ export async function getShellActivationCommands(binDir: string): Promise<{
176176
if (await fs.pathExists(path.join(binDir, 'activate.csh'))) {
177177
shellActivation.set(ShellConstants.CSH, [{ executable: 'source', args: [path.join(binDir, `activate.csh`)] }]);
178178
shellDeactivation.set(ShellConstants.CSH, [{ executable: 'deactivate' }]);
179-
180-
shellActivation.set(ShellConstants.FISH, [{ executable: 'source', args: [path.join(binDir, `activate.csh`)] }]);
181-
shellDeactivation.set(ShellConstants.FISH, [{ executable: 'deactivate' }]);
182179
}
183180

184181
if (await fs.pathExists(path.join(binDir, 'activate.fish'))) {

0 commit comments

Comments
 (0)