1
1
mirror of https://github.com/nboughton/dotfiles synced 2024-11-22 05:41:57 +01:00

finally bothered to configure starship

This commit is contained in:
Nick Boughton 2021-07-11 20:39:26 +01:00
parent 23cf9ae069
commit a816272de4

80
starship.toml Normal file

@ -0,0 +1,80 @@
# Use custom format
format = """
[┌─](bold blue) $username[@](bold blue)$hostname
[│](bold blue) $directory\
$shlvl\
$kubernetes\
$vcsh\
$git_branch\
$git_commit\
$git_state\
$git_status\
$hg_branch\
$docker_context\
$package\
$cmake\
$dart\
$deno\
$dotnet\
$elixir\
$elm\
$erlang\
$golang\
$helm\
$java\
$julia\
$kotlin\
$nim\
$nodejs\
$ocaml\
$perl\
$php\
$purescript\
$python\
$red\
$ruby\
$rust\
$scala\
$swift\
$terraform\
$vlang\
$vagrant\
$zig\
$nix_shell\
$conda\
$memory_usage\
$aws\
$gcloud\
$openstack\
$env_var\
$crystal\
$custom\
$cmd_duration\
$line_break\
$lua\
$jobs\
$battery\
$time\
$status\
$shell\
$character """
# Wait 10 milliseconds for starship to check files under the current directory.
scan_timeout = 10
# Disable the blank line at the start of the prompt
add_newline = true
[username]
style_user = "blue bold dimmed"
style_root = "red bold"
format = "[$user]($style)"
show_always = true
[hostname]
ssh_only = false
format = "[$hostname]($style)"
style = "bold blue dimmed"
[character]
format = "[└─](bold blue)$symbol"