Advertisement
bal_gennady

starship dotfile by @ChristianLempa

Oct 30th, 2023 (edited)
1,803
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 1.78 KB | Software | 0 0
  1. # ~/.config/starship.toml
  2.  
  3. add_newline = false
  4. command_timeout = 1000
  5. format = """$os$username$hostname$kubernetes$directory$git_branch$git_status"""
  6.  
  7. # Drop ugly default prompt characters
  8. [character]
  9. success_symbol = ''
  10. error_symbol = ''
  11.  
  12. # ---
  13.  
  14. [os]
  15. format = '[$symbol](bold white) '  
  16. disabled = false
  17.  
  18. [os.symbols]
  19. Windows = ' '
  20. Arch = '󰣇'
  21. Ubuntu = ''
  22. Macos = '󰀵'
  23.  
  24. # ---y
  25.  
  26. # Shows the username
  27. [username]
  28. style_user = 'white bold'
  29. style_root = 'black bold'
  30. format = '[$user]($style) '
  31. disabled = false
  32. show_always = true
  33.  
  34. # Shows the hostname
  35. [hostname]
  36. ssh_only = false
  37. format = 'on [$hostname](bold yellow) '
  38. disabled = false
  39.  
  40. # Shows current directory
  41. [directory]
  42. truncation_length = 1
  43. truncation_symbol = '…/'
  44. home_symbol = '󰋜 ~'
  45. read_only_style = '197'
  46. read_only = '  '
  47. format = 'at [$path]($style)[$read_only]($read_only_style) '
  48.  
  49. # Shows current git branch
  50. [git_branch]
  51. symbol = ' '
  52. format = 'via [$symbol$branch]($style)'
  53. # truncation_length = 4
  54. truncation_symbol = '…/'
  55. style = 'bold green'
  56.  
  57. # Shows current git status
  58. [git_status]
  59. format = '[$all_status$ahead_behind]($style) '
  60. style = 'bold green'
  61. conflicted = '🏳'
  62. up_to_date = ''
  63. untracked = ' '
  64. ahead = '⇡${count}'
  65. diverged = '⇕⇡${ahead_count}⇣${behind_count}'
  66. behind = '⇣${count}'
  67. stashed = ' '
  68. modified = ' '
  69. staged = '[++\($count\)](green)'
  70. renamed = '襁 '
  71. deleted = ' '
  72.  
  73. # Shows kubernetes context and namespace
  74. [kubernetes]
  75. format = 'via [󱃾 $context\($namespace\)](bold purple) '
  76. disabled = false
  77.  
  78. # ---
  79.  
  80. [vagrant]
  81. disabled = true
  82.  
  83. [docker_context]
  84. disabled = true
  85.  
  86. [helm]
  87. disabled = true
  88.  
  89. [python]
  90. disabled = true
  91.  
  92. [nodejs]
  93. disabled = true
  94.  
  95. [ruby]
  96. disabled = true
  97.  
  98. [terraform]
  99. disabled = true
Tags: terminal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement