Skip to content

Commit e296fe2

Browse files
authored
Merge pull request #371 from onedr0p/patch-1
Make fish completions compatible with MacOS
2 parents 6743cdb + db6fae2 commit e296fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completion/fish/task.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function __task_get_tasks --description "Prints all available tasks with their description"
2-
task -l | sed '1d' | awk '{ $1=""; print $0 }' | sed 's/: /\t/' | string trim
2+
task -l | sed '1d' | awk '{ $1=""; print $0 }' | tr ': ', '\t' | string trim
33
end
44

55
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

0 commit comments

Comments
 (0)