From 31f2f445f3b825742760bc9cf265380eaffb39d2 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 31 May 2025 20:43:16 +0200 Subject: [PATCH] justfile: fix nom use condition. turns out just will plumb the stdout of its running processes, so we detect ttys on stderr instead --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index e21ec1f..a5aa85b 100644 --- a/justfile +++ b/justfile @@ -1,6 +1,6 @@ set positional-arguments # makes variables accesible as $1 $2 $@ export GUM_FILTER_HEIGHT := "15" -nom := `if [[ -t 1 ]] && command -v nom >/dev/null; then echo nom; else echo nix; fi` +nom := `if [[ -t 2 ]] && command -v nom >/dev/null; then echo nom; else echo nix; fi` nix_eval_opts := "--log-format raw --option warn-dirty false" @_default: