buninu 0.2.4 → 0.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.5 - 2026-08-19
4
+
5
+ - Fixed fish shell startup breaking buninu
6
+ - Start fish after entering the shell please
7
+
3
8
  ## 0.2.4 - 2026-08-19
4
9
 
5
10
  ### Added
package/bin/init.js CHANGED
@@ -258,7 +258,7 @@ async function detectEnvironment() {
258
258
  return {
259
259
  name: "linux",
260
260
  shell:
261
- await findCommand(process.env.SHELL) ||
261
+ // await findCommand(process.env.SHELL) ||
262
262
  Bun.which("bash") ||
263
263
  Bun.which("sh") ||
264
264
  "/bin/sh",
@@ -269,10 +269,11 @@ async function detectEnvironment() {
269
269
  return {
270
270
  name: "android",
271
271
  shell:
272
- await findCommand(process.env.SHELL) ||
272
+ // await findCommand(process.env.SHELL) ||
273
273
  (await pathExists("/system/bin/sh") ? "/system/bin/sh" : null) ||
274
+ Bun.which("bash") ||
274
275
  Bun.which("sh") ||
275
- "sh",
276
+ "/bin/sh",
276
277
  };
277
278
  }
278
279
 
@@ -280,7 +281,7 @@ async function detectEnvironment() {
280
281
  return {
281
282
  name: "macos",
282
283
  shell:
283
- await findCommand(process.env.SHELL) ||
284
+ // await findCommand(process.env.SHELL) ||
284
285
  Bun.which("zsh") ||
285
286
  Bun.which("bash") ||
286
287
  Bun.which("sh") ||
@@ -292,7 +293,7 @@ async function detectEnvironment() {
292
293
  return {
293
294
  name: "linux",
294
295
  shell:
295
- await findCommand(process.env.SHELL) ||
296
+ // await findCommand(process.env.SHELL) ||
296
297
  Bun.which("bash") ||
297
298
  Bun.which("sh") ||
298
299
  "/bin/sh",
@@ -302,7 +303,7 @@ async function detectEnvironment() {
302
303
  return {
303
304
  name: `unix:${process.platform}`,
304
305
  shell:
305
- await findCommand(process.env.SHELL) ||
306
+ // await findCommand(process.env.SHELL) ||
306
307
  Bun.which("bash") ||
307
308
  Bun.which("sh") ||
308
309
  "/bin/sh",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buninu",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Buninu is a portable, self-bootstrapping Unix-like userspace built on Bun that runs across operating systems",
5
5
  "type": "module",
6
6
  "main": "./bin/init.js",