starship.toml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. format = """
  2. [](#BB77EE)\
  3. $hostname\
  4. $username\
  5. [](bg:#334A77 fg:#BB77EE)\
  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:#BB77EE fg:#001100'
  26. ssh_symbol = '󰲝 '
  27. format = '[$ssh_symbol$hostname ]($style)'
  28. [username]
  29. show_always = false
  30. style_user = 'bg:#BB77EE fg:#001100'
  31. style_root = 'bg:#BB77EE fg:#881100 bold'
  32. format = '[$user ]($style)'
  33. [directory]
  34. style = 'bg:#334A77'
  35. format = "[ $path ]($style)"
  36. truncation_length = 5
  37. truncate_to_repo = false
  38. truncation_symbol = '…/'
  39. [git_branch]
  40. style = 'bg:#775570'
  41. format = '[ $branch ]($style)'
  42. [git_state]
  43. style = 'bg:#775570'
  44. format = '[\($state( $progress_current/$progress_total)\) ]($style)'
  45. [git_status]
  46. style = 'bg:#775570'
  47. format = '[$all_status$ahead_behind ]($style)'
  48. [status]
  49. disabled = false
  50. style = 'bg:#86BBD8 fg:#000000'
  51. pipestatus = true
  52. format = '[ $status( $signal_name) ]($style)'
  53. pipestatus_format = '[$pipestatus→ $int ]($style)'
  54. [cmd_duration]
  55. style = 'bg:#86BBD8 fg:#000000'
  56. show_milliseconds = true
  57. format = '[ $duration ]($style)'
  58. [shlvl]
  59. disabled = false
  60. format = '[ SHLVL:$shlvl ]($style)'
  61. style = 'bg:#773477'
  62. [jobs]
  63. format = '[ $symbol$number ]($style)'
  64. style = 'bg:#773477'
  65. [time]
  66. disabled = false
  67. time_format = '%R' # hour:minute
  68. style = 'bg:#225560 fg:#AAAAAA'
  69. format = '[ $time ]($style)'
  70. [line_break]
  71. disabled = false