Skip to content

Commit

Permalink
fish: fix completions for tasks with aliases (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcuru authored Apr 15, 2023
1 parent 6995cd7 commit 606a8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completion/fish/task.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 606a8f9

Please sign in to comment.