From 606a8f9db501831e1612e43c09914573306a50ef Mon Sep 17 00:00:00 2001 From: Patrick Jackson Date: Sat, 15 Apr 2023 12:51:44 -0700 Subject: [PATCH] fish: fix completions for tasks with aliases (#1113) --- 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 45a9746d..ee2d0a51 100644 --- a/completion/fish/task.fish +++ b/completion/fish/task.fish @@ -10,7 +10,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 '1d; s/\* \(.*\):\s*\(.*\)/\1\t\2/' | string split0) + set -l output (echo $rawOutput | sed -e '1d; s/\* \(.*\):\s*\(.*\)\s*(aliases.*/\1\t\2/' -e 's/\* \(.*\):\s*\(.*\)/\1\t\2/'| string split0) if test $output echo $output end