3 ms·
Definitely not without asking. But I think giving a yes/no prompt for whether to add the line is reasonable. One counter-argument might be that if the user do
by comex 5y ago
Definitely not without asking. But I think giving a yes/no prompt for whether to add the line is reasonable.
One counter-argument might be that if the user doesn’t add it themselves, they’re less likely to remember where it is so they can remove it if needed. However, Homebrew already gives you a command to add it that you can blindly copy and paste, which is already not going to stimulate memory very much. I don’t think the script doing it automatically is any worse, as long as it makes sure to explain what it’s doing – that is, display the line it’s adding and the path it’s adding it to.