gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
21.73k stars 3.34k forks source link

Feature: `hostname_local` to always show the local hostname even if SSH connected #691

Closed ww7 closed 8 months ago

ww7 commented 8 months ago

I'm using nested Oh my tmux! and want to show #{hostname_local} on parent Tmux when SSH connected.

Please add such variable if you think anyone else would want it.

gpakosz commented 8 months ago

Hello @ww7 👋

There are tmux variables for this, see the tmux manual

     host                   #H       Hostname of local host
     host_short             #h       Hostname of local host (no domain name)