update starship config
This commit is contained in:
parent
ecfef4074e
commit
1db3202ba6
1 changed files with 22 additions and 17 deletions
|
@ -1,28 +1,33 @@
|
|||
add_newline = false
|
||||
|
||||
prompt_order = [
|
||||
"username",
|
||||
"hostname",
|
||||
"kubernetes",
|
||||
"directory",
|
||||
"git_branch",
|
||||
"git_commit",
|
||||
"git_state",
|
||||
"git_status",
|
||||
"nix_shell",
|
||||
"cmd_duration",
|
||||
"custom",
|
||||
"line_break",
|
||||
"jobs",
|
||||
"battery",
|
||||
"character",
|
||||
]
|
||||
format = """
|
||||
$username\
|
||||
$hostname\
|
||||
$kubernetes\
|
||||
$directory\
|
||||
$git_branch\
|
||||
$git_commit\
|
||||
$git_state\
|
||||
$git_status\
|
||||
$nix_shell\
|
||||
$cmd_duration\
|
||||
$custom\
|
||||
$line_break\
|
||||
$jobs\
|
||||
$battery\
|
||||
$character\
|
||||
"""
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
format = "[$user]($style)@"
|
||||
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
format = "[$hostname]($style) "
|
||||
|
||||
[git_branch]
|
||||
format = "[$symbol$branch]($style)"
|
||||
|
||||
[character]
|
||||
use_symbol_for_status = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue