removed permanent history and PS1 analisys from .bashrc
added more checks before applying the new config files