From d693e167966dc71aa2cf43e222db9020ad3c5bd3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 27 Nov 2024 19:59:30 +0000 Subject: [PATCH] Hide errors for non-existant paths --- nix/lib/shared/scripts/t.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/lib/shared/scripts/t.nix b/nix/lib/shared/scripts/t.nix index ab36494..ce6767f 100644 --- a/nix/lib/shared/scripts/t.nix +++ b/nix/lib/shared/scripts/t.nix @@ -20,7 +20,8 @@ -maxdepth 1 -mindepth 1 -type d \ ! -name "_archive" \ ! -name "*-old" \ - ! -name "*.old" + ! -name "*.old" \ + 2>/dev/null ) selected_path=$(echo "''${items}" | sort | fzf)