Some shell fixes

This commit is contained in:
2026-07-18 22:33:23 +05:30
parent dd47827e13
commit 85c5d942a4
2 changed files with 7 additions and 5 deletions
+6 -5
View File
@@ -1,7 +1,7 @@
# starship.toml - Fully riced modern prompt config aligned with Carbonfox theme
format = """
$os$username$hostname$directory$git_branch$git_state$git_status$python$nodejs$rust$golang$cmd_duration$line_break\
$os$username$hostname$directory$git_branch$git_state$git_status$cmd_duration$line_break\
$character"""
# Wait 10 milliseconds for starship to check files under the current directory.
@@ -29,7 +29,7 @@ disabled = false
[directory]
style = "bold blue" # Use terminal blue
format = "in [ $path]($style)[$read_only]($read_only_style) "
format = "in [ $path]($style)[$read_only]($read_only_style) "
truncation_length = 3
truncation_symbol = "…/"
truncate_to_repo = true
@@ -44,12 +44,12 @@ vimcmd_symbol = "[](bold cyan)" # Use terminal cyan
[git_branch]
symbol = "🌱 "
style = "bold red" # Use terminal red
format = "on [$symbol$branch]($style) "
format = "on [$symbol $branch]($style) "
truncation_symbol = ""
[git_status]
style = "bold red"
format = "([$all_status$ahead_behind]($style) )"
format = "([$all_status $ahead_behind]($style) )"
conflicted = "🏳"
ahead = "🏎💨"
behind = "😰"
@@ -87,8 +87,9 @@ format = "via [$symbol$version]($style) "
[cmd_duration]
min_time = 100
symbol = "⏳"
style = "bold yellow"
format = "underwent [$duration]($style) "
format = "took [$duration]($style) "
[status]
style = "bg:blue"