bun
bun copied to clipboard
install script should automatically add the install directory to `PATH`
What is the problem this feature will solve?
when i install bun i have to manually figure out which .bashrc file to add these lines to:

What is the feature you are proposing to solve the problem?
the script should do it for me
What alternatives have you considered?
No response
I suppose a dirty solution would be to:
- First test to see if the install dir happens to already be on
PATH - If not, then check for common
rcfiles in the home dir (.bashrc,.cshrc, etc.), and add it to whichever of those files already exist.
But it should ask the user before automatically adding it, IMO.