# ~/.config/starship.toml
format = """
$username\
$hostname\
$arch\
$shlvl\
$kubernetes\
$directory\
$git_branch\
$git_commit\
$git_state\
$git_status\
$hg_branch\
$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\
$vagrant\
$zig\
$nix_shell\
$conda\
$memory_usage\
$aws\
$gcloud\
$openstack\
$env_var\
$crystal\
$custom\
$cmd_duration\
$line_break\
$lua\
$jobs\
$battery\
$time\
$status\
$character"""
[custom.arch]
command = "arch"
format = "[$output]($style) "
style = "bold purple"
when = "true"
# .zshrc
# Use command `rosetta` to spawn a new zsh process running in rosetta.
function rosetta {
arch -arch x86_64 zsh
}