diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-02-28 17:36:56 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-30 09:52:23 +0100 |
commit | 22c4a31a44efa93d02636a77817f6637d273007a (patch) | |
tree | c1e73afe6c49be597bf37c27672e16d8fab1511c /.config | |
parent | e57d8077cca60fc32ead0277f4807d90a96cb715 (diff) |
[zshrc] add starship
Diffstat (limited to '.config')
-rw-r--r-- | .config/starship.toml | 42 |
1 files changed, 42 insertions, 0 deletions
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 |