remove container prompt on wsl

This commit is contained in:
reeink 2024-03-21 19:01:14 +08:00
parent 1adea02361
commit dc3d93424b
No known key found for this signature in database

View file

@ -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 }}