naggie / dstask

Git powered terminal-based todo/note manager -- markdown note page per task. Single binary!
https://calbryant.uk/blog/dstask-a-taskwarrior-alternative/
MIT License
793 stars 47 forks source link

bash-completion script is messed up #181

Open axelsimon opened 1 year ago

axelsimon commented 1 year ago

I have enabled bash completions by adding source <(dstask bash-completion) to my .bashrc.

The results are surprising. For instance, if i type dstask add test +butab expecting it to complete with +bug, instead I end up with dstask add test g. dstask add test +bugtab ends up as dstask add test report

dstask add show-retab ends up as dstask add solved.

Tested on Kitty, Alacritty and GNOME Terminal.

Also, completion does nothing at all when used after the suggested alias t="dstask".

naggie commented 1 year ago

This is strange, I cannot reproduce the broken tab completion on bash or zsh. Also, the alias (t) completion works fine. Is there a conflicting completion somewhere or something?

axelsimon commented 10 months ago

I'll try and have another look at this and figure it out.