Skip to content

Instantly share code, notes, and snippets.

@apahl
Created January 23, 2022 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apahl/184e7ee84aae6f697e46cf6d32a4c0c0 to your computer and use it in GitHub Desktop.
Save apahl/184e7ee84aae6f697e46cf6d32a4c0c0 to your computer and use it in GitHub Desktop.
# ~/.config/starship.toml
format = """
$username\
${custom.screen}\
$hostname\
$shlvl\
$singularity\
$kubernetes\
$directory\
$vcsh\
$git_branch\
$git_commit\
$git_state\
$git_metrics\
$git_status\
$hg_branch\
$docker_context\
$package\
$cmake\
$cobol\
$dart\
$deno\
$dotnet\
$elixir\
$elm\
$erlang\
$golang\
$helm\
$java\
$julia\
$kotlin\
$lua\
$nim\
$nodejs\
$ocaml\
$perl\
$php\
$pulumi\
$purescript\
$python\
$rlang\
$red\
$ruby\
$rust\
$scala\
$swift\
$terraform\
$vlang\
$vagrant\
$zig\
$nix_shell\
$conda\
$memory_usage\
$aws\
$gcloud\
$openstack\
$azure\
$env_var\
$crystal\
$custom\
$sudo\
$cmd_duration\
$line_break\
$jobs\
$battery\
$time\
$status\
$shell\
$character"""
[aws]
disabled = true
[username]
format = "[$user]($style)"
[hostname]
format = " on [$hostname]($style) in "
[directory]
format = "[$path]($style)[$read_only]($read_only_style) "
style = "dimmed cyan"
[cmd_duration]
min_time = 5_000
[time]
disabled = false
format = '🕙 [$time]($style) '
time_format = "%R"
[custom.screen]
description = "Displays whether we are in a screen session"
symbol = "*"
when = """test -n "$STY" """
format = "[$symbol]($style)"
style = "bold yellow"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment