Skip to content

Commit

Permalink
Merge pull request #156 from vvavrychuk/suppress-symbolic-link-derefe…
Browse files Browse the repository at this point in the history
…rence

fixed symbolic link dereference when launching shell
  • Loading branch information
Tyriar authored Oct 24, 2019
2 parents c98d092 + 8fa9045 commit 8949cea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unixTerminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export class UnixTerminal extends Terminal {
}

const cwd = opt.cwd || process.cwd();
env.PWD = cwd;
const name = opt.name || env.TERM || DEFAULT_NAME;
env.TERM = name;
const parsedEnv = this._parseEnv(env);
Expand Down

0 comments on commit 8949cea

Please sign in to comment.