You are not logged in.
Hi all,
I had been using taskwarrior a while back. The Tab-completion was working fine with zsh, meaning that if I was typing
$ task add Something project:<TAB><TAB>
I was getting a list of all the projects already listed in my task files.
Now, if I do that, my terminal crashes (virtual or tty).
Does anyone have the same behaviour or has an idea how I could debug this?
Thanks!
Offline
happening to me too,
crashing if I double tab on anything though.
Am using zsh so am gonna look at _task, see if I can see anything.
Edit:
Seems to be working with:
task (+ | - | project: )
anything else still crashing
Last edited by hamhut1066 (2013-07-30 12:20:21)
Arch Linux | i3 | mpd | vim
`Everything to those who wait`
Offline
Made a hack and slash solution. May add to it if I need extra functionality...
#compdef task
_task () {
_arguments -s \
'::ids:($(task -ids))'\
':add:(add)'\
'::commands:(start done modify)'\
"::tags:($(task _tags | sed 's/.*/\+&/'))"\
":projects:($(task _projects | sed 's/.*/projects:&/'))"
}
I might try and do this slightly better when I have reliable internet and some time...
Hope this helps.
Arch Linux | i3 | mpd | vim
`Everything to those who wait`
Offline
I had the same issue, on multiple machines.
The only time I could get it to work was by removing the task database, i.e. `rm -R ~/.task`, and re-adding all my tasks. However, as soon as I exited my shell and opened a new one, it was broken again.
In the end, installing the latest version of zsh-git made it all work, so it seems to be solved upstream.
Offline
That sorted it, thanks. Am kinda tempted to use my one though. just because tab completion is a little faster and I have only put in functions I use Slightly odd functionality but meh. I now know the quirks of it
Arch Linux | i3 | mpd | vim
`Everything to those who wait`
Offline