From dfeb0a063c1d8e607c4b0904c707c65b230591bd Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 30 Aug 2021 18:29:31 +0200 Subject: Use starship prompt --- .config/starship.toml | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .config/starship.toml (limited to '.config') diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..efc3dc8 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,54 @@ +format = """ +⋮ \ +$username\ +$hostname\ +$shlvl\ +$kubernetes\ +$directory\ +$git_branch\ +$git_commit\ +$git_state\ +$memory_usage\ +$env_var\ +$custom\ +$cmd_duration\ +$jobs\ +$time\ +$status\ +$character\ +""" + +add_newline = false + +[character] +success_symbol = "❯" + +[directory] +truncation_length = 0 +truncate_to_repo = false +style = "bright-green" + +[username] +format = "[$user@]($style)" +style_user = "dimmed" + +[hostname] +format = "[$hostname]($style) " +style = "dimmed" + +[git_branch] +format = "[$symbol$branch]($style) " +disabled = true + +[jobs] +symbol = "∆" + +[cmd_duration] +format = "[$duration]($style) " +style = "" +min_time = 60_000 +# disabled = true + +[shlvl] +symbol = "☰" +disabled = false -- cgit 1.4.1