From eb39dd94d0ca85d50baf2589b343c0c58abaa20d Mon Sep 17 00:00:00 2001 From: Valentin Maerten Date: Mon, 2 Sep 2024 22:06:01 +0200 Subject: [PATCH] fix(completion): display aliases in fish completion (#1782) --- 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 ee2d0a51..a38a2130 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 -e '1d; s/\* \(.*\):\s*\(.*\)\s*(aliases.*/\1\t\2/' -e 's/\* \(.*\):\s*\(.*\)/\1\t\2/'| string split0) + set -l output (echo $rawOutput | sed -e '1d; s/\* \(.*\):\s*\(.*\)\s*(\(aliases.*\))/\1\t\2\t\3/' -e 's/\* \(.*\):\s*\(.*\)/\1\t\2/'| string split0) if test $output echo $output end