Opened 7 years ago

Closed 7 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)

Portfile-bash-completion.diff (1.4 KB) - added by liberato@… 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by liberato@…

comment:1 Changed 7 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Added in r114608.

Note: See TracTickets for help on using tickets.