Skip to content

Instantly share code, notes, and snippets.

@ecampidoglio
Last active January 7, 2023 04:25
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecampidoglio/3fb57f3aa079333f97f5231fb2a50167 to your computer and use it in GitHub Desktop.
Save ecampidoglio/3fb57f3aa079333f97f5231fb2a50167 to your computer and use it in GitHub Desktop.
starship prompt with Nerd Fonts icons.
# Replace the "❯" symbol in the prompt with "➜"
[character]
symbol = "➜"
# Configure the number of directories to truncate in the current path
[directory]
truncation_length = 3
truncate_to_repo = true
style = "blue"
# Configure the duration of the last command
[cmd_duration]
min_time = 100
style = "dimmed white"
disabled = true
# Configure the Git prompt
[git_branch]
style = "green"
# Configure the Git symbols
[git_status]
conflicted = "  "
deleted = " 﫧"
modified = "  "
stashed = "  "
staged = "  "
renamed = "  "
untracked = "  "
prefix = "|"
suffix = " | "
show_sync_count = true
conflicted_count.enabled = true
deleted_count.enabled = true
modified_count.enabled = true
stashed_count.enabled = true
staged_count.enabled = true
renamed_count.enabled = true
untracked_count.enabled = true
# Configure the SSH prompt
[hostname]
ssh_only = true
prefix = "⟪"
suffix = "⟫"
# Configure the battery display
[battery]
full_symbol = ""
charging_symbol = ""
discharging_symbol = ""
# Configure the background jobs
[jobs]
symbol = ""
# Configure the package version
[package]
symbol = " "
style = "dimmed white"
# Configure the .NET module
[dotnet]
symbol = " "
style = "dimmed blue"
# Configure the Rust module
[rust]
symbol = " "
style = "dimmed red"
# Configure the Node.js module
[nodejs]
symbol = " "
style = "dimmed green"
# Configure the Java module
[java]
symbol = " "
style = "dimmed purple"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment