Last active
May 14, 2024 01:52
-
-
Save azriel91/f37e0ac0ccc2c83f1cd762278d4fb73e to your computer and use it in GitHub Desktop.
Starship configuration
This file contains hidden or 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
format = """\ | |
$time\ | |
$directory\ | |
$memory_usage\ | |
$env_var\ | |
$git_branch\ | |
$git_commit\ | |
$git_state\ | |
$git_status\ | |
$cmd_duration\ | |
$line_break\ | |
$character\ | |
""" | |
# Disabled: | |
# $custom\ | |
# $docker_context\ | |
# $aws\ | |
# $package\ | |
# $rust\ | |
# $dotnet\ | |
# $java\ | |
# $julia\ | |
# $nodejs\ | |
# $python\ | |
# $ruby\ | |
# $nix_shell\ | |
[aws] | |
style = "bold blue" | |
symbol = "π ° " | |
format = "[$symbol$region]($style)" | |
[aws.region_aliases] | |
ap-southeast-2 = "au" | |
us-east-1 = "va" | |
[cmd_duration] | |
# $duration β The command duration (e.g. "15s") | |
# $style β The default style of the module (e.g. "bold yellow") | |
min_time = 500 | |
format = "β [$duration]($style) " | |
show_milliseconds = true | |
[custom.nu] | |
command = "printf π" | |
format = "[$symbol$output]($style) " | |
when = """ test "$_" == "/home/azriel/.cargo/bin/nu" """ | |
[dotnet] | |
disabled = true | |
[directory] | |
format = "[$path]($style)[$read_only]($read_only_style) " | |
style = "bold bright-blue" | |
truncation_length = 7 | |
truncate_to_repo = false | |
[git_branch] | |
symbol = "π± " | |
# style = "white" | |
style = "bright-green" | |
[git_status] | |
format = '([$all_status$ahead_behind]($style) )' | |
stashed = "" # ignore stashes | |
staged = "[!](bold bright-green)" | |
[rust] | |
format = "[$symbol$version]($style) " | |
[time] | |
disabled = false | |
format = "[$time]($style) " | |
time_format = "%T" | |
style = "bold yellow" | |
utc_time_offset = "+12" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment