updated starship prompt
This commit is contained in:
parent
0316ffee8f
commit
966edc2d88
1 changed files with 1 additions and 19 deletions
|
@ -1,8 +1,7 @@
|
||||||
add_newline = true
|
add_newline = true
|
||||||
|
|
||||||
format = """
|
format = """
|
||||||
$username@$hostname $directory $git_branch $git_status $git_state $git_metrics $git_commit
|
$username@$hostname $directory $all$character"""
|
||||||
$character"""
|
|
||||||
|
|
||||||
right_format = "$cmd_duration"
|
right_format = "$cmd_duration"
|
||||||
|
|
||||||
|
@ -16,23 +15,6 @@ format = "took [$duration]($style) "
|
||||||
format = "[$path]($style)[$read_only]($read_only_style)"
|
format = "[$path]($style)[$read_only]($read_only_style)"
|
||||||
read_only = " 🔒"
|
read_only = " 🔒"
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = "on [$symbol$branch]($style)"
|
|
||||||
|
|
||||||
[git_commit]
|
|
||||||
format = "[\\($hash$tag\\)]($style)"
|
|
||||||
tag_disabled = false
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '\([$state($progress_current/$progress_total)]($style)\)'
|
|
||||||
|
|
||||||
[git_metrics]
|
|
||||||
disabled = false
|
|
||||||
format = '([+$added]($added_style))([-$deleted]($deleted_style))'
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
||||||
|
|
||||||
[hostname]
|
[hostname]
|
||||||
ssh_only = false
|
ssh_only = false
|
||||||
format= "[$hostname]($style)"
|
format= "[$hostname]($style)"
|
||||||
|
|
Reference in a new issue