[self:install]: prefer .bashrc over .bash_profile
[self:install]: prefer .bashrc over .bash_profile

and some minor refactoring

platformsh/platformsh-cli,pjcdawkins/platformsh-cli,platformsh/platformsh-cli,pjcdawkins/platformsh-cli,platformsh/platformsh-cli,pjcdawkins/platformsh-cli