Update activate

Should work more generally.
Tested on debian.
Fixed for ZSH
Tabs fixed
Second check fixed
bash moved to /usr/bin/bash instead of /bin/bash fixed