agkozak / agkozak-zsh-prompt

A fast, asynchronous Zsh prompt with color ASCII indicators of Git, exit, SSH, virtual environment, and vi mode status. Framework-agnostic and customizable.
MIT License
290 stars 26 forks source link

Hostname display inconsistency when using tmux #3

Closed agkozak closed 6 years ago

agkozak commented 6 years ago

In pull request #2, @jupl reports:

I'm using tmux, having one session when on the computer directly and a separate session when I connect via SSH.... If I start a session first via SSH, the hostname does show. However, if I then start a session directly while the other session is open the hostname still shows.

@jupl, I would like to recreate your problem if possible on my end. Can you tell me what operating system you are using and the versions of zsh, tmux, and ssh? Thanks so much!

agkozak commented 6 years ago

Also, @jupl, are you starting tmux first, then SSHing, then creating a new tmux session?

Or are you logging in via SSH first, then starting tmux, then starting a new tmux session?

Thanks.