Opened 11 years ago
Closed 11 years ago
#41762 closed enhancement (fixed)
todotxt 2.9 enhancement: add bash-completion support
Reported by: | liberato@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | nerdling (Jeremy Lavergne) | |
Port: |
Description
The attached patch adds bash-completion support to todotxt. I used git-core as a template.
The todo.txt distribution's completion script assumes that executable script is named todo.sh; I chose to work around this by renaming it in the completion script to ${name}, since this port renames todo.sh in that fashion. This seemed most straightforward to me. If this is a known class of problem with a better workaround, please point me at that workaround and I'll apply it here instead.
Attachments (1)
Change History (2)
Changed 11 years ago by liberato@…
Attachment: | Portfile-bash-completion.diff added |
---|
comment:1 Changed 11 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Added in r114608.