From d3694513083147880a2d84d85cd1d2e793ca4d51 Mon Sep 17 00:00:00 2001 From: Nate Meyer Date: Wed, 1 Sep 2021 08:54:48 -0700 Subject: [PATCH] keep the sed, we do want to skip the first line --- 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 a06108a0..92a7478e 100644 --- a/completion/fish/task.fish +++ b/completion/fish/task.fish @@ -1,5 +1,5 @@ function __task_get_tasks --description "Prints all available tasks with their description" - task -l | awk '{ $1=""; print $0 }' | sed 's/:\ /\t/g' | string trim + task -l | sed '1d' | awk '{ $1=""; print $0 }' | sed 's/:\ /\t/g' | string trim end complete -c task -d 'Runs the specified task(s). Falls back to the "default" task if no task name was specified, or lists all tasks if an unknown task name was