From 159599c719bdd62449d95dbbf23e69d0b82eb3f7 Mon Sep 17 00:00:00 2001 From: Sergio Date: Mon, 9 Mar 2026 01:41:41 -0700 Subject: [PATCH 1/2] fix(fish): use GO_TASK_PROGNAME for experiments lookup --- completion/fish/task.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completion/fish/task.fish b/completion/fish/task.fish index 39ef8d992d..451606eed5 100644 --- a/completion/fish/task.fish +++ b/completion/fish/task.fish @@ -16,7 +16,7 @@ function __task_get_experiments end # Refresh cache - set -g __task_experiments_cache (task --experiments 2>/dev/null) + set -g __task_experiments_cache ($GO_TASK_PROGNAME --experiments 2>/dev/null) set -g __task_experiments_cache_time $now printf '%s\n' $__task_experiments_cache end From 093f4b6024285c32779d2af3ed0f991004f1793d Mon Sep 17 00:00:00 2001 From: sergiochan Date: Thu, 19 Mar 2026 08:43:49 -0700 Subject: [PATCH 2/2] fix(fish): inherit GO_TASK_PROGNAME in experiments helper --- completion/fish/task.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completion/fish/task.fish b/completion/fish/task.fish index 451606eed5..d4629000f8 100644 --- a/completion/fish/task.fish +++ b/completion/fish/task.fish @@ -5,7 +5,7 @@ set -g __task_experiments_cache "" set -g __task_experiments_cache_time 0 # Helper function to get experiments with 1-second cache -function __task_get_experiments +function __task_get_experiments --inherit-variable GO_TASK_PROGNAME set -l now (date +%s) set -l ttl 1 # Cache for 1 second only