add pythonrc and os detect in bashrc