From 3a37ae17c689bb83490be9bb29262e3dd0918c94 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 17 Oct 2024 12:36:04 -0400 Subject: [PATCH] gcc-native: sed -> tr --- home-manager/progs/fish.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/home-manager/progs/fish.nix b/home-manager/progs/fish.nix index 735cbf7..dc8ba6c 100644 --- a/home-manager/progs/fish.nix +++ b/home-manager/progs/fish.nix @@ -24,9 +24,6 @@ in cr = "${cargo} run"; cb = "${cargo} build"; - # I hate the red background - run0 = "run0 --background=\"\""; - # from DistroTube's dot files: Changing "ls" to "eza" ls = "${eza} -al"; la = "${eza} -a"; @@ -48,7 +45,7 @@ in nix-cleanup = "doas nix-collect-garbage --delete-older-than 1d && doas nix-store --optimise && doas nix-store --gc"; - gcc-native = "${pkgs.gcc}/bin/gcc -Q --help=target -mtune=native -march=native | ${pkgs.gnugrep}/bin/grep -E '^\\s+\-(mtune|march)=' | ${pkgs.gnused}/bin/sed -E 's/\\s+//g'"; + gcc-native = "${pkgs.gcc}/bin/gcc -Q --help=target -mtune=native -march=native | ${pkgs.gnugrep}/bin/grep -E '^\\s+\-(mtune|march)=' | ${coreutils}/tr -d '[:blank:]'"; chess = "${pkgs.chess-tui}/bin/chess-tui -e ${pkgs.stockfish}/bin/stockfish"; };