jacob-carlborg/dvm

Permission to edit .bashrc

Opened this issue · 0 comments

Currently, running ./ install dvm adds a few lines to .bashrc which sets up the environment for DVM. This is problematic in several ways:

I don't like it when programs edit my configuration files without asking for permission.
I, and presumably many others, don't use bash at all (I use zsh). 

Therefore, I suggest that you make the installer print the lines that must be added (since the same code may be pasted into .zshrc, for instance) and thereafter ask for permission to add them to .bashrc automatically.

Reference: doob/dvm/issue/8/permission-to-edit-bashrc