Skip to content

Instantly share code, notes, and snippets.

@replsv
Created February 19, 2020 09:36
Show Gist options
  • Save replsv/52cce070a1f65b5e56fc4b9dbd0a480e to your computer and use it in GitHub Desktop.
Save replsv/52cce070a1f65b5e56fc4b9dbd0a480e to your computer and use it in GitHub Desktop.
starship config
# ~/.bashrc
eval "$(starship init bash)"
# ~/.config/fish/config.fish
starship init fish | source
# ~/.config/starship.toml
add_newline = false
prompt_order = [
"line_break",
"username",
"hostname",
"kubernetes",
"git_branch",
"git_state",
"git_status",
"rust",
"php",
"nodejs",
"golang",
"memory_usage",
"time",
"cmd_duration",
"line_break",
"directory",
"jobs",
"character",
]
[character]
symbol = ">"
error_symbol = "X"
use_symbol_for_status = true
[cmd_duration]
min_time = 500
prefix = "cmd "
[directory]
truncation_length = 15
[hostname]
ssh_only = true
prefix = "⟪"
suffix = "⟫"
disabled = false
[username]
show_always = true
disabled = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment