mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Start the shell with the correct cwd on Windows (#1016)
* fixes zeit/hyper#1011 * more succinct fix for zeit/hyper#1011
This commit is contained in:
parent
271a221979
commit
fb2f1d8e1e
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ app.on('ready', () => installDevExtensions(isDev).then(() => {
|
|||
}
|
||||
});
|
||||
|
||||
rpc.on('new', ({rows = 40, cols = 100, cwd = process.env.HOME, splitDirection}) => {
|
||||
rpc.on('new', ({rows = 40, cols = 100, cwd = process.env.HOME || process.env.HOMEPATH, splitDirection}) => {
|
||||
const shell = cfg.shell;
|
||||
const shellArgs = cfg.shellArgs && Array.from(cfg.shellArgs);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue