Open ocervell opened 4 months ago
May I suggest not doing this? By all means print a message explaining how to add something to a user's path, but modifying dotfiles that aren't owned / created by secator is not really good practice imo. Many people will version control or manage their dotfiles with something like ansible, and tools making changes to this without permission is asking for trouble
Here is an example on how to do it (from Pulumi install script):