Skip to content

Instantly share code, notes, and snippets.

@adegoodyer
Created June 26, 2023 11:45
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 adegoodyer/3e04c430a82a3512185126295c71a86f to your computer and use it in GitHub Desktop.
Save adegoodyer/3e04c430a82a3512185126295c71a86f to your computer and use it in GitHub Desktop.
Config for starship.rs
command_timeout = 3000
scan_timeout = 500
[line_break]
disabled = true
[character]
success_symbol = "[>](bold green)"
error_symbol = "[x](bold red)"
vicmd_symbol = "[<](bold green)"
[directory]
read_only = " ro"
[git_commit]
tag_symbol = " tag "
[git_status]
ahead = ">${count}"
behind = "<${count}"
diverged = ">${ahead_count} <${behind_count}"
[aws]
symbol = "aws "
[docker_context]
symbol = "docker "
[golang]
symbol = "go "
[nodejs]
symbol = "nodejs "
[memory_usage]
symbol = "memory "
[nix_shell]
symbol = "nix "
[php]
symbol = "php "
[python]
symbol = "py "
[sudo]
symbol = "sudo "
[terraform]
format = "via [$symbol$version]($style) "
symbol = "tf "
version_format = "v${raw}"
detect_folders = [".terraform"]
detect_extensions = ["tf", "tfplan", "tfstate"]
[kubernetes]
format = '[⛵ \($namespace\)](green) '
disabled = false
[kubernetes.context_aliases]
'dev.local.cluster.k8s' = 'dev'
'.*/openshift-cluster/.*' = 'openshift'
'gke_.*_(?P<var_cluster>[\w-]+)' = 'gke-$var_cluster'
[kubernetes.user_aliases]
'dev.local.cluster.k8s' = 'dev'
'root/.*' = 'root'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment