mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 22:45:08 +00:00
10 lines
211 B
Fish
10 lines
211 B
Fish
function __bb_complete_tasks
|
|
if not test "$__bb_tasks"
|
|
set -g __bb_tasks (bb tasks |tail -n +3 |cut -f1 -d ' ')
|
|
end
|
|
|
|
printf "%s\n" $__bb_tasks
|
|
end
|
|
|
|
complete -c bb -a "(__bb_complete_tasks)" -d 'tasks'
|