Fix the issue where bashrc always activates in subdirectories of virtual environments