Skip to content

Instantly share code, notes, and snippets.

@rafay99-epic
Last active November 16, 2022 20:03
Show Gist options
  • Save rafay99-epic/1b8ea0bbcd0645e566c15629db57e105 to your computer and use it in GitHub Desktop.
Save rafay99-epic/1b8ea0bbcd0645e566c15629db57e105 to your computer and use it in GitHub Desktop.
Starship Promote Config
# ~/.config/starship.toml
[battery]
full_symbol = "๐Ÿ”‹"
charging_symbol = "๐Ÿ”Œ"
discharging_symbol = "โšก"
[[battery.display]]
threshold = 30
style = "bold red"
[character]
error_symbol = "[โœ–](bold red) "
[cmd_duration]
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec)
format = " took [$duration]($style)"
[directory]
truncation_length = 5
format = "[$path]($style)[$lock_symbol]($lock_style) "
read_only = " ๏ ฝ"
[git_branch]
format = " [$symbol$branch]($style) "
symbol = "๐Ÿฃ "
style = "bold yellow"
[git_commit]
commit_hash_length = 8
style = "bold white"
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
[git_status]
conflicted = "โš”๏ธ "
ahead = "๐ŸŽ๏ธ ๐Ÿ’จ ร—${count}"
behind = "๐Ÿข ร—${count}"
diverged = "๐Ÿ”ฑ ๐ŸŽ๏ธ ๐Ÿ’จ ร—${ahead_count} ๐Ÿข ร—${behind_count}"
untracked = "๐Ÿ›ค๏ธ ร—${count}"
stashed = "๐Ÿ“ฆ "
modified = "๐Ÿ“ ร—${count}"
staged = "๐Ÿ—ƒ๏ธ ร—${count}"
renamed = "๐Ÿ“› ร—${count}"
deleted = "๐Ÿ—‘๏ธ ร—${count}"
style = "bright-white"
format = "$all_status$ahead_behind"
[hostname]
ssh_only = false
format = "<[$hostname]($style)>"
trim_at = "-"
style = "bold dimmed white"
disabled = true
[julia]
format = "[$symbol$version]($style) "
symbol = "เฎƒ "
style = "bold green"
[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = 70
style = "bold dimmed white"
disabled = false
[package]
disabled = false
symbol = "๏ฃ– "
[perl]
symbol = "๎ฉ "
[php]
symbol = "๎˜ˆ "
[python]
format = "[$symbol$version]($style) "
style = "bold green"
symbol = "๎˜† "
pyenv_prefix = "venv "
python_binary = ["./venv/bin/python", "python", "python3", "python2"]
detect_extensions = ["py"]
version_format = "v${raw}"
[rust]
format = "[$symbol$version]($style) "
style = "bold green"
symbol = "๐Ÿฆ€ "
[time]
time_format = "%T"
format = "๐Ÿ•™ $time($style) "
style = "bright-white"
disabled = false
[username]
style_user = "bold dimmed blue"
show_always = false
[conda]
format = "[$symbol$environment](dimmed green) "
symbol = "๏„Œ "
style="green bold"
[elixir]
symbol = "๐Ÿ”ฎ "
[swift]
symbol = "๏ฏฃ "
format = "via [๐ŸŽ $version](red bold)"
[java]
symbol = "๎‰– "
[golang]
symbol = "๎˜ง "
[aws]
symbol = "๎Œฝ "
[dart]
symbol = "๎ž˜ "
[sudo]
style = "bold green"
symbol = "๐Ÿ‘ฉโ€๐Ÿ’ป "
disabled = false
[nodejs]
format = "via [๏ข˜ Node.js $version](bold green) "
detect_files = ["package.json", ".node-version"]
detect_folders = ["node_modules"]
[ruby]
symbol = "๎ˆพ "
# [shell]
# fish_indicator = "๏œน"
# powershell_indicator = "๏‘ _"
# unknown_indicator = "mystery shell"
# style = "cyan bold"
# disabled = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment