From 375ae575e595686b8794d158728c84b6611ab916 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sat, 6 Aug 2022 21:56:42 +0100 Subject: [PATCH] Added ssh hostname to starship config Signed-off-by: Marcus Noble --- home/.starship/config.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/.starship/config.toml b/home/.starship/config.toml index 9f4cd39..caf35fe 100644 --- a/home/.starship/config.toml +++ b/home/.starship/config.toml @@ -1,6 +1,7 @@ format = """\ $status\ $cmd_duration\ + $hostname\ $directory\ $git_branch\ $git_commit\ @@ -22,6 +23,11 @@ format = """\ command_timeout = 1000 add_newline = true +[hostname] +ssh_only = true +format = "🌐 [$hostname](bold dimmed blue) \n" +disabled = false + [directory] format = "┏  [$path]($style)[$read_only]($read_only_style) "