Skip to content

Instantly share code, notes, and snippets.

@lmolas
Last active August 8, 2024 13:35
Show Gist options
  • Select an option

  • Save lmolas/675b596a20bc3944fb6d4e430bf0ab02 to your computer and use it in GitHub Desktop.

Select an option

Save lmolas/675b596a20bc3944fb6d4e430bf0ab02 to your computer and use it in GitHub Desktop.
# My customized Tokyo Night theme (https://starship.rs/presets/tokyo-night)
format = """
[░▒▓](#a3aed2)\
[ 󰯉 ](bg:#a3aed2 fg:#090c0c)\
[](bg:#769ff0 fg:#a3aed2)\
$directory\
[](fg:#769ff0 bg:#394260)\
$git_branch\
$git_status\
[](fg:#394260 bg:#212736)\
$nodejs\
$rust\
$golang\
$aws\
[](fg:#212736 bg:#1d2230)\
$time\
[ ](fg:#1d2230)\
\n$character"""
# put kubernetes in right prompt
right_format = """
[](fg:#394260 bg:#000000)\
$kubernetes\
[](fg:#394260 bg:#000000)\
"""
command_timeout = 5000
[directory]
style = "fg:#e3e5e5 bg:#769ff0"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"
[directory.substitutions]
"Documents" = "󰈙 "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
[git_branch]
symbol = ""
style = "bg:#394260"
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
[git_status]
style = "bg:#394260"
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
[nodejs]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[rust]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[golang]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[aws]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($profile )(\($region\) )(\[$duration\] )](fg:#769ff0 bg:#212736)]($style)'
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#1d2230"
format = '[[  $time ](fg:#a0a9cb bg:#1d2230)]($style)'
[kubernetes]
disabled = false
style = "bg:#394260"
format = '[[$symbol$context( \($namespace\))](fg:#769ff0 bg:#394260)]($style)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment