Opened 6 years ago
Closed 6 years ago
#56762 closed enhancement (fixed)
todotxt @2.11.0: custom command breaks zsh completion script
Reported by: | woutgg (Wouter R.) | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | 2.5.2 |
Keywords: | Cc: | ||
Port: | todotxt zsh |
Description
The todo.sh command completion script provided by zsh has hardcoded invocations of the command todo.sh
to obtain, for instance, context names (see the script here). Since this port only provides the command todotxt
, those completions do not work.
For example, this completion scenario is currently broken: todotxt add <TAB>
.
As a quick fix, I created a symlink in a path known to the completion system, but it would be nicer to have this work out of the box.
I'm not really sure how though, it's not something that should be patched in the zsh port I suppose. Perhaps todotxt could have a variant that also installs the command 'todo.sh'?
Change History (5)
comment:1 Changed 6 years ago by nerdling (Jeremy Lavergne)
Owner: | set to nerdling |
---|---|
Status: | new → accepted |
comment:2 Changed 6 years ago by nerdling (Jeremy Lavergne)
Cc: | nerdling removed |
---|
comment:3 Changed 6 years ago by woutgg (Wouter R.)
See https://github.com/macports/macports-ports/pull/2136.
I have also fixed some issues with the Portfile but will create a separate PR/ticket for that.
comment:4 Changed 6 years ago by Wouter R <gennerate@…>
comment:5 Changed 6 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
I think it's reasonable to implement the symlink as part of todotxt.