Skip to content

Instantly share code, notes, and snippets.

@skanehira
Last active August 10, 2022 03:22
Show Gist options
  • Save skanehira/4d85426de9d4dea124abad43f91e7ac3 to your computer and use it in GitHub Desktop.
Save skanehira/4d85426de9d4dea124abad43f91e7ac3 to your computer and use it in GitHub Desktop.
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
add_newline = false
format = """
$hostname\
$username\
$directory\
$git_branch\
$git_state\
$git_metrics
[\\$ ](bold green)"""
[package]
disabled = true
[aws]
disabled = true
[git_metrics]
added_style = "bold blue"
format = '[+$added]($added_style)/[-$deleted]($deleted_style)'
[hostname]
ssh_only = false
format = "[💻$hostname](bold red) "
trim_at = ".local"
[username]
style_user = "yellow bold"
format = "[👤$user]($style) "
show_always = true
[git_branch]
symbol = " "
format = "[$symbol$branch(:$remote_branch)]($style) "
[directory]
format = "[📂$path]($style)[$read_only]($read_only_style) "
truncation_length = 2
truncation_symbol = "…/"
truncate_to_repo = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment