Skip to content

Commit

Permalink
Updated starship config
Browse files Browse the repository at this point in the history
  • Loading branch information
BIGboss248 committed Oct 30, 2024
1 parent 8a50a86 commit a421502
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions starship/starship.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

add_newline = false
command_timeout = 1000
format = """$os$username$hostname$kubernetes$directory$git_branch$git_status"""
format = """$os$username$hostname$kubernetes$git_branch$git_status
|$directory
└─> """

# Drop ugly default prompt characters
[character]
Expand Down Expand Up @@ -34,12 +36,12 @@ show_always = true
# Shows the hostname
[hostname]
ssh_only = false
format = 'on [$hostname](bold yellow) '
format = 'host=>[$hostname](bold yellow) '
disabled = false

# Shows current directory
[directory]
truncation_length = 1
truncation_length = 70
truncation_symbol = '…/'
home_symbol = '󰋜 ~'
read_only_style = '197'
Expand All @@ -48,15 +50,15 @@ format = 'at [$path]($style)[$read_only]($read_only_style) '

# Shows current git branch
[git_branch]
symbol = ''
symbol = ''
format = 'via [$symbol$branch]($style)'
# truncation_length = 4
truncation_symbol = '…/'
style = 'bold green'

# Shows current git status
[git_status]
format = '[$all_status$ahead_behind]($style) '
format = '([ \( $all_status$ahead_behind\)]($style) )'
style = 'bold green'
conflicted = '🏳'
up_to_date = ''
Expand All @@ -72,7 +74,7 @@ deleted = ' '

# Shows kubernetes context and namespace
[kubernetes]
format = 'via [󱃾 $context\($namespace\)](bold blue) '
format = 'via [󱃾 $context\($namespace\)](bold purple) '
disabled = false

# ---
Expand Down

0 comments on commit a421502

Please sign in to comment.