terminal: Add starship prompt configuration
I have been relying on my starship configuration for a *long* time now, but seemingly never added it into my dotfiles. This rectifies that.
This commit is contained in:
parent
6bc3f0e8c1
commit
a0802d69f8
1 changed files with 79 additions and 0 deletions
79
terminal/.config/starship.toml
Normal file
79
terminal/.config/starship.toml
Normal file
|
@ -0,0 +1,79 @@
|
|||
format = """
|
||||
$custom\
|
||||
$sudo\
|
||||
$username\
|
||||
$directory\
|
||||
$git_state\
|
||||
$git_status\
|
||||
$status\
|
||||
$character
|
||||
"""
|
||||
|
||||
right_format ="""
|
||||
$cmd_duration\
|
||||
$hostname\
|
||||
$git_branch\
|
||||
$fossil_branch\
|
||||
$go\
|
||||
$lua\
|
||||
$nodejs\
|
||||
$python\
|
||||
$package
|
||||
"""
|
||||
|
||||
[directory]
|
||||
style = "blue"
|
||||
fish_style_pwd_dir_length = 1
|
||||
read_only = " "
|
||||
read_only_style = "purple"
|
||||
|
||||
[character]
|
||||
success_symbol = "[❯](purple)"
|
||||
error_symbol = "[❯](red)"
|
||||
vimcmd_symbol = "[❮](green)"
|
||||
|
||||
[git_branch]
|
||||
format = "[$branch]($style) "
|
||||
style = "bright-black"
|
||||
|
||||
[git_status]
|
||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style) "
|
||||
style = "cyan"
|
||||
conflicted = ""
|
||||
untracked = ""
|
||||
modified = ""
|
||||
staged = ""
|
||||
renamed = ""
|
||||
deleted = ""
|
||||
stashed = "≡"
|
||||
|
||||
[git_state]
|
||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
||||
style = "bright-black"
|
||||
|
||||
[cmd_duration]
|
||||
format = "[$duration]($style) "
|
||||
style = "yellow"
|
||||
|
||||
[python]
|
||||
format = "[$virtualenv]($style) "
|
||||
style = "bright-black"
|
||||
|
||||
[fossil_branch]
|
||||
|
||||
[line_break]
|
||||
disabled = true
|
||||
|
||||
[package]
|
||||
symbol = ""
|
||||
style = "blue"
|
||||
|
||||
[status]
|
||||
disabled = false
|
||||
symbol = " "
|
||||
|
||||
[sudo]
|
||||
disabled = false
|
||||
symbol = " "
|
||||
style = 'bold yellow'
|
||||
format = "[$symbol]($style)"
|
Loading…
Reference in a new issue