Skip to content

Instantly share code, notes, and snippets.

@eugenesvk
Created March 12, 2021 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eugenesvk/fd185f49017cb64a4cfb076bde8b605d to your computer and use it in GitHub Desktop.
Save eugenesvk/fd185f49017cb64a4cfb076bde8b605d to your computer and use it in GitHub Desktop.
Starship prompt Left+Right
scan_timeout = 30 # 30 # Timeout for starship to scan files (in milliseconds).
add_newline = false # true # Don't print a new line at the start of the prompt
format = """
$username\
$hostname\
$shlvl\
$directory\
$git_branch\
$git_commit\
$git_state\
$git_status\
$line_break\
$status\
$character"""
[username]
style_user = 'bold green'
format = '[$user]($style)'
[hostname]
ssh_only = false
format = "[[@](bold black)$hostname]($style) "
style = "dimmed purple"
[character]
format = "$symbol "
success_symbol = "[❯](bold green)"
error_symbol = "[❯](bold red)"
[line_break]
disabled = true
scan_timeout = 30 # 30 # Timeout for starship to scan files (in milliseconds).
add_newline = false # true # Don't print a new line at the start of the prompt
format = """
$character\
$cmd_duration\
$shlvl\
$kubernetes\
$docker_context\
$package\
$cmake\
$dart\
$dotnet\
$elixir\
$elm\
$erlang\
$golang\
$helm\
$java\
$julia\
$kotlin\
$nim\
$nodejs\
$ocaml\
$perl\
$php\
$purescript\
$python\
$ruby\
$rust\
$swift\
$terraform\
$zig\
$nix_shell\
$conda\
$memory_usage\
$aws\
$gcloud\
$openstack\
$env_var\
$crystal\
$custom\
$line_break\
$lua\
$jobs\
$battery\
$time"""
[cmd_duration]
format = "⏲[$duration]($style)"
min_time = 2_000
style = "bold green"
show_notifications = true
[character]
format = "$symbol "
success_symbol = "[❮](bold green)"
error_symbol = "[❮](bold red)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment