mirror of
https://github.com/go-task/task.git
synced 2025-03-03 14:52:13 +02:00
Merge pull request #371 from onedr0p/patch-1
Make fish completions compatible with MacOS
This commit is contained in:
commit
e296fe2b98
@ -1,5 +1,5 @@
|
|||||||
function __task_get_tasks --description "Prints all available tasks with their description"
|
function __task_get_tasks --description "Prints all available tasks with their description"
|
||||||
task -l | sed '1d' | awk '{ $1=""; print $0 }' | sed 's/: /\t/' | string trim
|
task -l | sed '1d' | awk '{ $1=""; print $0 }' | tr ': ', '\t' | string trim
|
||||||
end
|
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
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user