[MacPorts] #56762: todotxt @2.11.0: custom command breaks zsh completion script
MacPorts
noreply at macports.org
Mon Jul 2 16:41:08 UTC 2018
#56762: todotxt @2.11.0: custom command breaks zsh completion script
-------------------------+-------------------------
Reporter: woutgg | Owner: (none)
Type: enhancement | Status: new
Priority: Low | Milestone:
Component: ports | Version: 2.5.2
Keywords: | Port: todotxt zsh
-------------------------+-------------------------
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
[https://sourceforge.net/p/zsh/code/ci/master/tree/Completion/Unix/Command/_todo.sh
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.[[br]]
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'?
--
Ticket URL: <https://trac.macports.org/ticket/56762>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list