fix(shell): use onefetch with true-color=never

This commit is contained in:
winston 2024-05-31 03:16:11 +02:00
parent 645323d7bb
commit 17131f5966
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 2 additions and 2 deletions

View file

@ -110,7 +110,7 @@ $env.config = {
env_change: {
PWD: [
{if (".git" | path exists) {
onefetch --no-merges --no-bots --no-color-palette --text-colors 1 1 3 4 4
onefetch --no-merges --no-bots --no-color-palette --true-color=never --text-colors 1 1 3 4 4
}}
]
}

View file

@ -45,7 +45,7 @@ in
onefetch_in_git_dir() {
if [[ -d '.git' ]]; then
${pkgs.onefetch}/bin/onefetch --no-merges --no-bots --no-color-palette --text-colors 1 1 3 4 4
${pkgs.onefetch}/bin/onefetch --no-merges --no-bots --no-color-palette --true-color=never --text-colors 1 1 3 4 4
fi
}