summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2021-10-28 19:54:47 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2021-10-28 19:54:47 +0200
commitd2a2f66b5caef89368082f3d25c076f12c490cc1 (patch)
tree6a00ffc42e8b6d487d5a458d7477d70190e1714c
parent06ecb38dbc1232895e48c20fe381825da097990a (diff)
Starship ssh prompt
-rw-r--r--.config/starship.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/starship.toml b/.config/starship.toml
index 8b65912..b7f4b23 100644
--- a/.config/starship.toml
+++ b/.config/starship.toml
@@ -7,3 +7,10 @@ error_symbol = "[✗](bold red) "
[cmd_duration]
disabled = true
+
+[username]
+format = "[$user]($style)"
+
+[hostname]
+ssh_only = true
+format = "@[$hostname]($style) "