From 06538860a8963582e1405b35cfb2f2543d56ddf1 Mon Sep 17 00:00:00 2001 From: WinkelCode <29005772+WinkelCode@users.noreply.github.com> Date: Wed, 24 Dec 2025 22:48:54 +0100 Subject: [PATCH] fix(completion): use posix whitespace in fish sed regex (#2592) --- 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 8e7782f7..c62b2ce3 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