diff options
| author | José Juan Loeza Sierra <jj@xz6ze.com> | 2025-07-22 22:50:37 -0700 |
|---|---|---|
| committer | José Juan Loeza Sierra <jj@xz6ze.com> | 2025-07-22 22:50:37 -0700 |
| commit | 16f618e6596cda0f7ff9fc47d44277648752e419 (patch) | |
| tree | dc79d5b13407335eeb2278886c0dbea4a59b5cb0 /dot-config | |
| parent | 3a86dfabe6ed37f9a29a1a86f3a38a9f42fb6c70 (diff) | |
change starship format
Diffstat (limited to 'dot-config')
| -rw-r--r-- | dot-config/starship.toml | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/dot-config/starship.toml b/dot-config/starship.toml index e544d04..594f691 100644 --- a/dot-config/starship.toml +++ b/dot-config/starship.toml @@ -1,28 +1,31 @@ format = """ -$username\ -$hostname\ -$directory\ -$git_branch\ -$git_commit\ -$git_state\ -$git_status\ -$cmd_duration\ +\\[$username@$hostname $directory\\] \ +$container\ +$git_branch$git_commit$git_state$git_status\ $line_break\ -$character +\\$ """ [username] format = "[$user]($style)" show_always = true -style_user = "fg:white" +style_user = "bright-white" [hostname] -format = "[@$ssh_symbol$hostname ]($style)" +format = "[$hostname]($style)" ssh_only = false -ssh_symbol = "" -style = "fg:white" +style = "bright-white" + +[directory] +format = '[$path]($style)' +truncation_length = 1 +style = "bright-white" + +[container] +format = '[\[$name\]]($style) ' +style = 'bright-white dimmed' [git_branch] format = "[$symbol$branch(:$remote_branch)]($style) " @@ -39,8 +42,3 @@ tag_symbol = " " [git_status] format = "[($all_status$ahead_behind)]($style)" style = "bold red" - -[character] -error_symbol = "[➣ ](red)" -format = "$symbol" -success_symbol = "[➣ ](white)" |
