From 17131f596675c017cff99c62aea23127320ce370 Mon Sep 17 00:00:00 2001 From: winston Date: Fri, 31 May 2024 03:16:11 +0200 Subject: [PATCH] fix(shell): use onefetch with `true-color=never` --- home/apps/nu/config.nu | 2 +- home/apps/zsh.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home/apps/nu/config.nu b/home/apps/nu/config.nu index d1a479d..75fa88d 100644 --- a/home/apps/nu/config.nu +++ b/home/apps/nu/config.nu @@ -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 }} ] } diff --git a/home/apps/zsh.nix b/home/apps/zsh.nix index 190c9d9..dcd0bd0 100644 --- a/home/apps/zsh.nix +++ b/home/apps/zsh.nix @@ -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 }