diff --git a/dot_config/starship.toml b/dot_config/starship.toml.tmpl similarity index 69% rename from dot_config/starship.toml rename to dot_config/starship.toml.tmpl index 90cc14e..72d822e 100644 --- a/dot_config/starship.toml +++ b/dot_config/starship.toml.tmpl @@ -11,4 +11,10 @@ error_symbol = '[\$](bold red)' # Disable the package module, hiding it from the prompt completely [package] +disabled = false + +{{ if and (eq .chezmoi.os "linux") (.chezmoi.kernel.osrelease | lower | contains "microsoft") }} +# In WSL, disable container option to avoid `[Docker]` prompt. +[container] disabled = true +{{ end }}