keychain code has to be run in .bashrc not .profile