Created
December 4, 2022 15:16
-
-
Save rafay99-epic/1c460df154b3e6d41cf3388928580629 to your computer and use it in GitHub Desktop.
This is the new config file for the starship promote with OS detection.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/starship.toml | |
# Inserts a blank line between shell prompts | |
add_newline = true | |
# Change the default prompt format | |
format = """\ | |
[โญโด](238)$shell\ | |
$all(238)$character""" | |
[env_var.STARSHIP_DISTRO] | |
format = '[$env_value](bold white)' | |
variable = "STARSHIP_DISTRO" | |
disabled = false | |
[username] | |
style_user = "white bold" | |
style_root = "black bold" | |
format = "[$user]($style) " | |
disabled = true # disable in powershell | |
show_always = false | |
[battery] | |
full_symbol = "๐" | |
charging_symbol = "๐" | |
discharging_symbol = "โก" | |
[[battery.display]] | |
threshold = 30 | |
style = "bold red" | |
[character] | |
success_symbol = "[โ](bold green)" | |
error_symbol = "[โ](bold red) " | |
[cmd_duration] | |
min_time = 10_000 | |
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 | |
[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}" | |
[gcloud] | |
format = 'on [$symbol$account(@$domain)(\($project\))]($style) ' | |
symbol = "โ๏ธ " | |
[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 = "๎ " | |
[shell] | |
fish_indicator = "๏น" | |
# powershell_indicator = "๏ _" | |
powershell_indicator = "๏ บ " | |
zsh_indicator = "๎ช " | |
bash_indicator = "๎ฏ" | |
unknown_indicator = "mystery shell" | |
style = "cyan bold" | |
disabled = false | |
[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 = "๎พ " | |
[cmake] | |
symbol = "๏จถ " | |
format = "via [๏จถ $version](bold green) " | |
[haskell] | |
symbol = "ฮป " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment