add hostname
This commit is contained in:
@@ -2,8 +2,10 @@ format = """
|
|||||||
[](color_user_bg)\
|
[](color_user_bg)\
|
||||||
$os\
|
$os\
|
||||||
$username\
|
$username\
|
||||||
|
$hostname\
|
||||||
[](fg:color_user_bg bg:color_directory_bg)\
|
[](fg:color_user_bg bg:color_directory_bg)\
|
||||||
$directory\
|
$directory\
|
||||||
|
$direnv\
|
||||||
[](fg:color_directory_bg bg:color_git_bg)\
|
[](fg:color_directory_bg bg:color_git_bg)\
|
||||||
$git_branch\
|
$git_branch\
|
||||||
$git_status\
|
$git_status\
|
||||||
@@ -77,6 +79,11 @@ style_root = "fg:color_user_fg bg:color_user_bg"
|
|||||||
format = '[ $user]($style)'
|
format = '[ $user]($style)'
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
|
[hostname]
|
||||||
|
ssh_only = false
|
||||||
|
style = 'fg:color_user_fg bg:color_user_bg'
|
||||||
|
format = '[@$hostname$ssh_symbol ]($style)'
|
||||||
|
|
||||||
# An alternative to the username module which displays a symbol that
|
# An alternative to the username module which displays a symbol that
|
||||||
# represents the current operating system
|
# represents the current operating system
|
||||||
[os]
|
[os]
|
||||||
|
|||||||
Reference in New Issue
Block a user