Closed
Description
Hello I'm trying to get the hostname_ssh
variable to work. I'm assuming this means if I have my local system, called localsystem
and I ssh into a remote system of jumpbox
, it would display jumpbox
in the bottom right hand corner when i'm ssh'd in, but localsystem
when I am not.
I currently can get localsystem
to display. However, when I ssh into the jumpbox, the display remains blank. I've tried this with both #{hostname_ssh}
variables by itself, as well as the conditional variable I have set below.
Apologies if this is a rudimentary question, but it's been something I've tried digging into for a few hours but can't find clear guidance.
I'm also using zsh and oh-my-zsh.
tmux_conf_theme_status_right="#{prefix}#{pairing}#{synchronized} ,tun0:#(ip addr show dev tun0 | grep 'inet[^6]' | awk '{print $2}' | cut -d/ -f1),eth:#(ip addr show dev enx24f5a28cd271 | grep 'inet[^6]' | awk '{print $2}' | cut -d/ -f1), %b %d,%R | #{?my_hostname,#{hostname_ssh},#{hostname}}"