mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-15 22:22:53 +02:00
remove container prompt on wsl
This commit is contained in:
parent
1adea02361
commit
dc3d93424b
1 changed files with 6 additions and 0 deletions
|
@ -11,4 +11,10 @@ error_symbol = '[\$](bold red)'
|
||||||
|
|
||||||
# Disable the package module, hiding it from the prompt completely
|
# Disable the package module, hiding it from the prompt completely
|
||||||
[package]
|
[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
|
disabled = true
|
||||||
|
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue