Added hostname to prompt
This commit is contained in:
parent
4c2033e000
commit
1afd6faf8c
1 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,7 @@ format = """\
|
|||
{% if yadm.distro_family == "redhat" %}
|
||||
[ ](bg:#7DF9AA fg:#090c0c)\
|
||||
{% endif %}
|
||||
[${hostname} ](bg:#7DF9AA fg:#090c0c)\
|
||||
[](fg:#7DF9AA bg:#1C3A5E)\
|
||||
$time\
|
||||
[](fg:#1C3A5E bg:#3B76F0)\
|
||||
|
@ -133,3 +134,9 @@ time_format = "%R" # Hour:Minute Format
|
|||
style = "bg:#1d2230"
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue