Last active
January 10, 2022 10:16
-
-
Save meetmistry0/e30832366e5476dc4647059fb6531642 to your computer and use it in GitHub Desktop.
Starship prompt config
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
# Sets the format for the modules. | |
format = """ | |
$username\ | |
$hostname\ | |
$shlvl\ | |
$singularity\ | |
$kubernetes\ | |
$directory\ | |
$vcsh\ | |
$git_branch\ | |
$git_commit\ | |
$git_state\ | |
$git_metrics\ | |
$git_status\ | |
$hg_branch\ | |
$docker_context\ | |
$package\ | |
$cmake\ | |
$cobol\ | |
$dart\ | |
$deno\ | |
$dotnet\ | |
$elixir\ | |
$elm\ | |
$erlang\ | |
$golang\ | |
$helm\ | |
$java\ | |
$julia\ | |
$kotlin\ | |
$lua\ | |
$nim\ | |
$nodejs\ | |
$ocaml\ | |
$perl\ | |
$php\ | |
$purescript\ | |
$python\ | |
$rlang\ | |
$red\ | |
$ruby\ | |
$rust\ | |
$scala\ | |
$swift\ | |
$terraform\ | |
$vlang\ | |
$vagrant\ | |
$zig\ | |
$nix_shell\ | |
$conda\ | |
$memory_usage\ | |
$aws\ | |
$gcloud\ | |
$openstack\ | |
$env_var\ | |
$crystal\ | |
$custom\ | |
$cmd_duration\ | |
$battery\ | |
$time\ | |
$line_break\ | |
$jobs\ | |
$status\ | |
$shell\ | |
$character""" | |
# Wrong command or error occured symbol | |
[character] | |
error_symbol = "[✗](bold red)" | |
# Battery symbols | |
[battery] | |
full_symbol = "🔋 " | |
charging_symbol = "🔌 " | |
discharging_symbol = "💀 " | |
# Style for 0-15% battery capacity. | |
[[battery.display]] | |
threshold = 15 | |
style = "bold red" | |
# Style for 10-30% battery capacity. | |
[[battery.display]] | |
threshold = 30 | |
style = "bold yellow" | |
# Style for 30-100% battery capacity. | |
[[battery.display]] | |
threshold = 100 | |
style = "bold white" | |
# Username style & format. | |
[username] | |
style_user = "bold white" | |
format = "[$user]($style) " | |
show_always = true | |
# Will truncate the directory if current folder is a git repo. | |
[directory] | |
truncation_length = 5 | |
truncation_symbol = "./" | |
# Show the time. | |
[time] | |
disabled = false | |
format = '[\[$time\]]($style) ' | |
time_format = "%I:%M %P" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment