datarockets / dotfiles

Configuration files for zsh, vim, and tmux
MIT License
11 stars 1 forks source link

added user and host to prompt when in a ssh session #35

Closed paydaylight closed 3 years ago

paydaylight commented 3 years ago

Code checks for the presence of SSH specific env variables. In case they are, appends user@hostname before the rest of the prompt. Not sure whether it is needed to show the user but I still added.

dzhlobo commented 3 years ago

When you fix the typo I mentioned above let's merge it. I've tested on a server.