From d59a58b465547f80a8d8640ef963c271659c9c6c Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 15 Nov 2021 12:29:36 -0500 Subject: [PATCH] starship: Use ASCII characters for everything This makes it easier to use starship in virtual consoles without worrying about unsupported characters. --- starship/.config/starship.toml | 103 ++++++++++++++++++++++++++++++++- 1 file changed, 100 insertions(+), 3 deletions(-) diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml index 55700052..2258642e 100644 --- a/starship/.config/starship.toml +++ b/starship/.config/starship.toml @@ -2,14 +2,12 @@ add_newline = false [directory] style = "purple" +read_only = " ro" [git_branch] style = "yellow" symbol = "" -[git_status] -disabled = true - [character] #success_symbol = "[➤](red)[➤](green)[➤](blue)" #error_symbol = "[➤](cyan)[➤](purple)[➤](yellow)" @@ -25,3 +23,102 @@ format = "with [$symbol($version )]($style)" symbol = "node " version_format = "${major}" disabled = true + +# Start tty-specific styles + +[git_commit] +tag_symbol = " tag " + +[git_status] +ahead = ">" +behind = "<" +diverged = "<>" +renamed = "r" +deleted = "x" + +[aws] +symbol = "aws " + +[cobol] +symbol = "cobol " + +[conda] +symbol = "conda " + +[crystal] +symbol = "cr " + +[cmake] +symbol = "cmake " + +[dart] +symbol = "dart " + +[deno] +symbol = "deno " + +[dotnet] +symbol = ".NET " + +[docker_context] +symbol = "docker " + +[elixir] +symbol = "exs " + +[elm] +symbol = "elm " + +[golang] +symbol = "go " + +[hg_branch] +symbol = "hg " + +[java] +symbol = "java " + +[julia] +symbol = "jl " + +[kotlin] +symbol = "kt " + +[memory_usage] +symbol = "memory " + +[nim] +symbol = "nim " + +[nix_shell] +symbol = "nix " + +[ocaml] +symbol = "ml " + +[package] +symbol = "pkg " + +[perl] +symbol = "pl " + +[php] +symbol = "php " + +[purescript] +symbol = "purs " + +[python] +symbol = "py " + +[ruby] +symbol = "rb " + +[rust] +symbol = "rs " + +[scala] +symbol = "scala " + +[swift] +symbol = "swift "