chore: add support for installed programming languages in starship

This commit is contained in:
Stefan Imhoff
2022-10-28 19:33:24 +02:00
parent fb5d28809b
commit 3bf915a1f9

View File

@@ -6,6 +6,13 @@ command_timeout = 1000
[nodejs]
detect_files = ["package.json", ".node-version", ".nvmrc", ".tool-versions"]
[deno]
detect_files = ["deno.json", "deno.jsonc", "mod.ts", "mod.js", "deps.ts", "deps.js", ".tool-versions"]
style = "blue bold"
[lua]
detect_files = [".lua-version", ".tool-versions"]
[ruby]
detect_files = ["Gemfile", ".ruby-version", ".tool-versions"]
@@ -15,6 +22,9 @@ detect_files = [".python-version", "Pipfile", "__init__.py", "pyproject.toml", "
[rust]
detect_files = ["Cargo.toml", ".tool-versions"]
[golang]
detect_files = ["go.mod", "go.sum", "go.work", "glide.yaml", "Gopkg.yml", "Gopkg.lock", ".go-version", ".tool-versions"]
# "bold red" style when capacity is between 0% and 10%
[[battery.display]]
threshold = 10