2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
9 lines
211 B
Fish
9 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'
|