From 22c4a31a44efa93d02636a77817f6637d273007a Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 28 Feb 2023 17:36:56 +0100 Subject: [zshrc] add starship --- .config/starship.toml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 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..ad0b0d2 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,42 @@ +scan_timeout = 5 + +format = """ +($all +)\ +$username@$hostname: $directory $fill $time +$character +""" +right_format = "$status( $cmd_duration)" + +[cmd_duration] +format = 'took [$duration]($style)' + +[directory] +truncation_length = 16 +truncate_to_repo = false + +[fill] +symbol = ' ' + +[hostname] +ssh_only = false +format = '[$ssh_symbol$hostname]($style)' + +[nix_shell] +symbol = '❄️ ' + +[status] +disabled = false +format = '[$symbol$status]($style)' + +[time] +disabled = false +format = '[$time]($style)' + +[username] +disabled = false +show_always = true +format = '[$user]($style)' + +[line_break] +disabled = true -- cgit v1.2.3