-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Currently implementation relies on process.env.SHELL env var.
It's usually provided, still there can be situation where we work in isolated environment (e.g. for test purposes) and such env var might not be exposed.
Issues I've observed, when no process.env.SHELL is provided:
- All created scripts have no extension (they just end with a
.) uninstallof last registered command crashes, as it tries to read~/.bashrcand such path needs to be resolved before passing toreadFile. It happens because fallback inlocationFromShellis not untildified
Metadata
Metadata
Assignees
Labels
No labels