1
0

starship.toml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. format = """
  2. [](#065555)\
  3. $hostname\
  4. $username\
  5. [](bg:#334A77 fg:#065555)\
  6. $directory\
  7. [](fg:#334A77 bg:#775570)\
  8. $git_branch\
  9. $git_state\
  10. $git_status\
  11. [](fg:#775570 bg:#86BBD8)\
  12. $status\
  13. $cmd_duration\
  14. [](fg:#86BBD8 bg:#773477)\
  15. $shlvl\
  16. $jobs\
  17. [](fg:#773477 bg:#225560)\
  18. $time\
  19. [ ](fg:#225560)\
  20. $line_break\
  21. \\$
  22. """
  23. add_newline = true
  24. [hostname]
  25. style = 'bg:#065555'
  26. format = '[$hostname ]($style)'
  27. [username]
  28. show_always = false
  29. style_user = 'bg:#065555'
  30. style_root = 'bg:#065555 fg:#FF5577 bold'
  31. format = '[$user ]($style)'
  32. [directory]
  33. style = 'bg:#334A77'
  34. format = "[ $path ]($style)"
  35. truncation_length = 5
  36. truncate_to_repo = false
  37. truncation_symbol = '…/'
  38. [git_branch]
  39. style = 'bg:#775570'
  40. format = '[ $branch ]($style)'
  41. [git_state]
  42. style = 'bg:#775570'
  43. format = '[\($state( $progress_current/$progress_total)\) ]($style)'
  44. [git_status]
  45. style = 'bg:#775570'
  46. format = '[$all_status$ahead_behind ]($style)'
  47. [status]
  48. disabled = false
  49. style = 'bg:#86BBD8 fg:#000000'
  50. pipestatus = true
  51. format = '[ $status( $signal_name) ]($style)'
  52. pipestatus_format = '[$pipestatus→ $int ]($style)'
  53. [cmd_duration]
  54. style = 'bg:#86BBD8 fg:#000000'
  55. show_milliseconds = true
  56. format = '[ $duration ]($style)'
  57. [shlvl]
  58. disabled = false
  59. format = '[ SHLVL:$shlvl ]($style)'
  60. style = 'bg:#773477'
  61. [jobs]
  62. format = '[ $symbol$number ]($style)'
  63. style = 'bg:#773477'
  64. [time]
  65. disabled = false
  66. time_format = '%R' # hour:minute
  67. style = 'bg:#225560 fg:#AAAAAA'
  68. format = '[ $time ]($style)'
  69. [line_break]
  70. disabled = false