Skip to content

Instantly share code, notes, and snippets.

@socheatsok78
Last active May 15, 2022 06:13
Show Gist options
  • Save socheatsok78/24db44e30b32e76a4accb8bf4d8a36a8 to your computer and use it in GitHub Desktop.
Save socheatsok78/24db44e30b32e76a4accb8bf4d8a36a8 to your computer and use it in GitHub Desktop.
My personal starship.rs config
# Move the directory to the second line
# format = "$all$directory$character"
# Disable the blank line at the start of the prompt
add_newline = true
# Timeout for commands executed by starship
command_timeout = 2500
# [env_var.ITERM_PROFILE]
# format = "[\\$ITERM_PROFILE=$env_value]($style) "
# default = "default"
[env_var.VAULT_ADDR]
format = "[\\$VAULT_ADDR=$env_value]($style) "
default = "unset"
[directory]
truncation_symbol = "../"
truncate_to_repo = false
[localip]
ssh_only = true
format = "@[$localipv4](bold red) "
disabled = false
[git_commit]
commit_hash_length = 4
tag_symbol = "🔖 "
[git_metrics]
disabled = false
[aws]
format = "on [$symbol$profile]($style) "
style = "bold blue"
symbol = "🅰 "
[nodejs]
symbol = ""
detect_files = ["package.json"]
[package]
format = "is [$version](208 bold) "
display_private = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment