From bb08c20769a61c7ad5730def57e73464554ba428 Mon Sep 17 00:00:00 2001 From: WinkelCode <29005772+WinkelCode@users.noreply.github.com> Date: Fri, 19 Dec 2025 04:02:35 +0000 Subject: [PATCH 1/3] fix(completion): use POSIX whitespace in fish sed regex --- 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 8e7782f7ac..7e4f5bec0d 100644 --- a/completion/fish/task.fish +++ b/completion/fish/task.fish @@ -54,7 +54,7 @@ function __task_get_tasks --description "Prints all available tasks with their d end # Grab names and descriptions (if any) of the tasks - set -l output (echo $rawOutput | sed -e '1d; s/\* \(.*\):\s\{2,\}\(.*\)\s\{2,\}(\(aliases.*\))/\1\t\2\t\3/' -e 's/\* \(.*\):\s\{2,\}\(.*\)/\1\t\2/'| string split0) + set -l output (echo $rawOutput | sed -e '1d; s/\* \(.*\):[[:space:]]\{2,\}\(.*\)[[:space:]]\{2,\}(\(aliases.*\))/\1\t\2\t\3/' -e 's/\* \(.*\):[[:space:]]\{2,\}\(.*\)/\1\t\2/'| string split0)` if test $output echo $output end From e6260425d7a8e3b8c183af0937d384655fc90aa8 Mon Sep 17 00:00:00 2001 From: WinkelCode <29005772+WinkelCode@users.noreply.github.com> Date: Fri, 19 Dec 2025 04:17:03 +0000 Subject: [PATCH 2/3] remove backtick that snuck into shell command --- 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 7e4f5bec0d..cd7be4fc3a 100644 --- a/completion/fish/task.fish +++ b/completion/fish/task.fish @@ -54,7 +54,7 @@ function __task_get_tasks --description "Prints all available tasks with their d end # Grab names and descriptions (if any) of the tasks - set -l output (echo $rawOutput | sed -e '1d; s/\* \(.*\):[[:space:]]\{2,\}\(.*\)[[:space:]]\{2,\}(\(aliases.*\))/\1\t\2\t\3/' -e 's/\* \(.*\):[[:space:]]\{2,\}\(.*\)/\1\t\2/'| string split0)` + set -l output (echo $rawOutput | sed -e '1d; s/\* \(.*\):[[:space:]]\{2,\}\(.*\)[[:space:]]\{2,\}(\(aliases.*\))/\1\t\2\t\3/' -e 's/\* \(.*\):[[:space:]]\{2,\}\(.*\)/\1\t\2/'| string split0)) if test $output echo $output end From e1d0a7e91ce1d5b8b19a9f4ee0a1b80c03043a18 Mon Sep 17 00:00:00 2001 From: WinkelCode <29005772+WinkelCode@users.noreply.github.com> Date: Fri, 19 Dec 2025 04:25:59 +0000 Subject: [PATCH 3/3] remove duplicate closing parenthesis --- 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 cd7be4fc3a..c62b2ce3b0 100644 --- a/completion/fish/task.fish +++ b/completion/fish/task.fish @@ -54,7 +54,7 @@ function __task_get_tasks --description "Prints all available tasks with their d end # Grab names and descriptions (if any) of the tasks - set -l output (echo $rawOutput | sed -e '1d; s/\* \(.*\):[[:space:]]\{2,\}\(.*\)[[:space:]]\{2,\}(\(aliases.*\))/\1\t\2\t\3/' -e 's/\* \(.*\):[[:space:]]\{2,\}\(.*\)/\1\t\2/'| string split0)) + set -l output (echo $rawOutput | sed -e '1d; s/\* \(.*\):[[:space:]]\{2,\}\(.*\)[[:space:]]\{2,\}(\(aliases.*\))/\1\t\2\t\3/' -e 's/\* \(.*\):[[:space:]]\{2,\}\(.*\)/\1\t\2/'| string split0) if test $output echo $output end