workshell 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6909,7 +6909,7 @@ ${setupCommand}
6909
6909
  try {
6910
6910
  writeFileSync2(join2(tmpDir, ".zshrc"), `[[ -f "$HOME/.zshrc" ]] && source "$HOME/.zshrc"
6911
6911
  ${zshScript}${setupSection}`);
6912
- spawnSync(shell, [], { cwd, stdio: "inherit", env: { ...process.env, ZDOTDIR: tmpDir } });
6912
+ spawnSync(shell, ["-l"], { cwd, stdio: "inherit", env: { ...process.env, ZDOTDIR: tmpDir } });
6913
6913
  } finally {
6914
6914
  rmSync(tmpDir, { recursive: true, force: true });
6915
6915
  }
@@ -6920,7 +6920,7 @@ ${zshScript}${setupSection}`);
6920
6920
  const rcFile = join2(tmpDir, ".bashrc");
6921
6921
  writeFileSync2(rcFile, `[[ -f "$HOME/.bashrc" ]] && source "$HOME/.bashrc"
6922
6922
  ${bashScript}${setupSection}`);
6923
- spawnSync(shell, ["--rcfile", rcFile, "-i"], { cwd, stdio: "inherit" });
6923
+ spawnSync(shell, ["--rcfile", rcFile, "-il"], { cwd, stdio: "inherit" });
6924
6924
  } finally {
6925
6925
  rmSync(tmpDir, { recursive: true, force: true });
6926
6926
  }
@@ -8183,7 +8183,7 @@ function promptChoice() {
8183
8183
  }
8184
8184
 
8185
8185
  // index.ts
8186
- var VERSION = "0.0.4";
8186
+ var VERSION = "0.0.5";
8187
8187
  function printHelp() {
8188
8188
  const dim2 = import_picocolors4.default.dim;
8189
8189
  const cyan2 = import_picocolors4.default.cyan;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workshell",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Agent- and human-friendly Git multitasking, powered by worktrees",
5
5
  "type": "module",
6
6
  "license": "MIT",