Added hostname to prompt

This commit is contained in:
Eric Renfro 2024-08-18 15:25:46 -04:00
parent 4c2033e000
commit 1afd6faf8c
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -44,6 +44,7 @@ format = """\
{% if yadm.distro_family == "redhat" %} {% if yadm.distro_family == "redhat" %}
[󱄛 ](bg:#7DF9AA fg:#090c0c)\ [󱄛 ](bg:#7DF9AA fg:#090c0c)\
{% endif %} {% endif %}
[${hostname} ](bg:#7DF9AA fg:#090c0c)\
[](fg:#7DF9AA bg:#1C3A5E)\ [](fg:#7DF9AA bg:#1C3A5E)\
$time\ $time\
[](fg:#1C3A5E bg:#3B76F0)\ [](fg:#1C3A5E bg:#3B76F0)\
@ -133,3 +134,9 @@ time_format = "%R" # Hour:Minute Format
style = "bg:#1d2230" style = "bg:#1d2230"
format = '[[ 󱑍 $time ](bg:#1C3A5E fg:#8DFBD2)]($style)' format = '[[ 󱑍 $time ](bg:#1C3A5E fg:#8DFBD2)]($style)'
[hostname]
ssh_only = true
format = '[$hostname](bg:#7DF9AA fg:#090c0c)'
#detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
disabled = false