Skip to content

Instantly share code, notes, and snippets.

@alexrecuenco
Created November 13, 2024 13:26
Show Gist options
  • Save alexrecuenco/eef0e45617d8ffdd477699d98c826b16 to your computer and use it in GitHub Desktop.
Save alexrecuenco/eef0e45617d8ffdd477699d98c826b16 to your computer and use it in GitHub Desktop.
Starship with very little customization
# Get editor completions based on the config schema
# https://starship.rs/config/
# https://starship.rs/presets/
# https://starship.rs/presets/pastel-powerline
# https://www.nerdfonts.com/cheat-sheet
"$schema" = 'https://starship.rs/config-schema.json'
command_timeout = 300
format = "$all"
right_format = "$nodejs$python$time"
# Maybe go back to this preset??
# add_newline = false
# right_format = """$time$node$python"""
# Here is how you can shorten some long paths by text replacement
# similar to mapped_locations in Oh My Posh:
[kubernetes]
disabled = false
# Variable Description
# context_pattern Required Regular expression to match current Kubernetes context name.
# user_pattern Regular expression to match current Kubernetes user name.
# context_alias Context alias to display instead of the full context name.
# user_alias User alias to display instead of the full user name.
# style The style for the module when using this context. If not set, will use module's style.
# symbol The symbol for the module when using this context. If not set, will use module's symbol.
contexts = [ # List of contexts to display
{ context_pattern = ".*aks.*", style = "red bold" },
{ context_pattern = "minikube", style = "green bold" },
]
[directory.substitutions]
"Documents" = "󰈙 "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
"Movies" = " "
"Desktop" = " "
"Workspace" = ""
"Projects" = ""
[aws]
symbol = " "
[buf]
symbol = " "
[c]
symbol = " "
[conda]
symbol = " "
[crystal]
symbol = " "
[dart]
symbol = " "
[directory]
truncation_symbol = "…/"
read_only = " 󰌾"
[docker_context]
symbol = " "
[elixir]
symbol = " "
[elm]
symbol = " "
[fennel]
symbol = " "
[fossil_branch]
symbol = " "
[git_branch]
symbol = " "
[git_commit]
tag_symbol = '  '
[golang]
symbol = " "
[guix_shell]
symbol = " "
[haskell]
symbol = " "
[haxe]
symbol = " "
[hg_branch]
symbol = " "
[hostname]
ssh_symbol = " "
[java]
symbol = " "
[julia]
symbol = " "
[kotlin]
symbol = " "
[lua]
symbol = " "
[memory_usage]
symbol = "󰍛 "
[meson]
symbol = "󰔷 "
[nim]
symbol = "󰆥 "
[nix_shell]
symbol = " "
[nodejs]
symbol = " "
[ocaml]
symbol = " "
[os.symbols]
Alpaquita = " "
Alpine = " "
AlmaLinux = " "
Amazon = " "
Android = " "
Arch = " "
Artix = " "
CentOS = " "
Debian = " "
DragonFly = " "
Emscripten = " "
EndeavourOS = " "
Fedora = " "
FreeBSD = " "
Garuda = "󰛓 "
Gentoo = " "
HardenedBSD = "󰞌 "
Illumos = "󰈸 "
Kali = " "
Linux = " "
Mabox = " "
Macos = " "
Manjaro = " "
Mariner = " "
MidnightBSD = " "
Mint = " "
NetBSD = " "
NixOS = " "
OpenBSD = "󰈺 "
openSUSE = " "
OracleLinux = "󰌷 "
Pop = " "
Raspbian = " "
Redhat = " "
RedHatEnterprise = " "
RockyLinux = " "
Redox = "󰀘 "
Solus = "󰠳 "
SUSE = " "
Ubuntu = " "
Unknown = " "
Void = " "
Windows = "󰍲 "
[package]
symbol = "󰏗 "
[perl]
symbol = " "
[php]
symbol = " "
[pijul_channel]
symbol = " "
[python]
symbol = " "
[rlang]
symbol = "󰟔 "
[ruby]
symbol = " "
[rust]
symbol = "󱘗 "
[scala]
symbol = " "
[swift]
symbol = " "
[zig]
symbol = " "
[gradle]
symbol = " "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment