add emacsclient for remote files and smart switch to shell