Skip to content

Instantly share code, notes, and snippets.

@davidmanueldev
Created June 16, 2024 18:11
Show Gist options
  • Select an option

  • Save davidmanueldev/428d11cd32a7dcdd962cb566cabf3c19 to your computer and use it in GitHub Desktop.

Select an option

Save davidmanueldev/428d11cd32a7dcdd962cb566cabf3c19 to your computer and use it in GitHub Desktop.
New Starship Config
#{{#if starship.use_experimental_config}}
#{{/if}}
format = """
$os\
$all\
$line_break\
$shell\
$character\
"""
right_format = """
$status\
$cmd_duration\
$time\
$battery\
"""
#:
#: Line 1
#:
#home = " "
#eth = " "
[directory]
format = """
[]($style)\
[$path$read_only](inverted $style)\
[]($style) \
"""
read_only = " "
home_symbol = ""
truncation_length = 3
# truncation_symbol = ""
truncation_symbol = "../"
[directory.substitutions]
# "Documents" = "󰧮 Documents"
# "Downloads" = " Downloads"
# "Music" = " Music"
# "Pictures" = " Pictures"
# "Videos" = " Videos"
# "Desktop" = " Desktop"
"Repos" = " Repos"
"repos" = "Repos"
"Projects" = " Projects"
"Games" = "󰺶 Games"
[username]
format = "[$user]($style) " # Para añadir el host: [ $user@$hostname]($style_user)
style_user = "bold blue"
# show_always = true
[hostname]
format = "[on $hostname]($style) "
style = "bold blue"
ssh_only = true
[c]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
[container]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$name]($style) \
"""
symbol = "∈ "
[git_branch]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$branch]($style)\
"""
symbol = " "
[git_status]
format = """
[$all_status$ahead_behind]($style) \
"""
style = "bold purple"
[java]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
#symbol = "☕"
style = "#d75f70"
[package]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
#symbol = "📦"
#style = "bold blue"
#style = "211"
style = "215"
[nodejs]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
[python]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
[rust]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
#symbol = "🦀"
[kotlin]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
[golang]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
[php]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
[haskell]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
[docker_context]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$context]($style) \
"""
symbol = " "
[dart]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
[dotnet]
format = """
[]($style)\
[$symbol](inverted $style)\
[](inverted $style)\
[$version]($style) \
"""
version_format = "${raw}"
symbol = " "
# [battery]
# format = """
# []($style)\
# [$symbol$percentage](inverted $style)\
# []($style) \
# """
# [[battery.display]]
# threshold = 10
# style = "bold red"
# [[battery.display]]
# threshold = 20
# style = "bold yellow"
[battery]
format = "[[|](fg:#F5FBFF)$symbol$percentage]($style)"
[[battery.display]]
threshold = 20 # %
charging_symbol = "↿"
discharging_symbol = ""
style = "fg:#D61E1C"
[[battery.display]]
threshold = 50 # %
charging_symbol = "↿"
discharging_symbol = ""
style = "fg:#E26D0E"
[[battery.display]]
threshold = 65 # %
charging_symbol = "↿"
discharging_symbol = ""
style = "fg:#e0af68"
[[battery.display]]
threshold = 66 # %
charging_symbol = "↿"
discharging_symbol = ""
style = "fg:#1DA65A"
#:
#: Line 2
#:
[os]
format = "[$symbol](bold white)"
disabled = false
[os.symbols]
Alpine = " "
Amazon = " "
Android = " "
Arch = " "
CentOS = " "
Debian = " "
DragonFly = " "
Emscripten = " "
EndeavourOS = " "
Fedora = " "
FreeBSD = " "
Gentoo = " "
HardenedBSD = "ﲊ "
Illumos = " "
Linux = " "
Macos = " "
Manjaro = " "
Mariner = " "
MidnightBSD = " "
Mint = " "
NetBSD = " "
NixOS = " "
OpenBSD = " "
openSUSE = " "
OracleLinux = " "
Pop = " "
Raspbian = " "
Redhat = " "
RedHatEnterprise = " "
Redox = " "
Solus = "ﴱ "
SUSE = " "
Ubuntu = " "
Unknown = " "
Windows = " "
# [shlvl]
# format = "[$symbol]($style)"
# # ≺ ≻ ⸱ ⋅ ꞏ • ◦
# symbol = "~"
# repeat = true
# threshold = 1
# style = "bold white"
# disabled = false
[shell]
fish_indicator = ""
disabled = false
bash_indicator = ""
[character]
disabled = false
success_symbol = '[](bold fg:color_green)'
error_symbol = '[](bold fg:color_red)'
vimcmd_symbol = '[](bold fg:color_green)'
vimcmd_replace_one_symbol = '[](bold fg:color_purple)'
vimcmd_replace_symbol = '[](bold fg:color_purple)'
vimcmd_visual_symbol = '[](bold fg:color_yellow)'
#:
#: Right Prompt
#:
[status]
format = """
[]($style)\
[$symbol$status](inverted $style)\
[]($style) \
"""
disabled = false
[cmd_duration]
format = """
[]($style)\
[ $duration](inverted $style)\
[]($style) \
"""
[time]
format = """
[]($style)\
[ $time](inverted $style)\
[]($style)\
"""
disabled = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment