From da9aad5f988a08e84fd9201e0409b6cf109a83f2 Mon Sep 17 00:00:00 2001 From: Valentin Maerten Date: Mon, 2 Sep 2024 20:33:28 +0200 Subject: [PATCH] feat: display aliases in fish completion --- 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 ee2d0a516a..a38a213072 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