Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm now using the drush completion stuff (in zsh, as the completion rocks), and have been using these functions for a little while to autcomplete my features commands (which I used rather a lot).
Anyway, it would be ace if they were in the module and not in my .drushrc :o)
Patch to follow…
Comment | File | Size | Author |
---|---|---|---|
#1 | features-1871430-completion-1.patch | 1.6 KB | stevetweeddale |
Comments
Comment #1
stevetweeddale CreditAttribution: stevetweeddale commentedAnd here it is…
Comment #2
mpotter CreditAttribution: mpotter commentedLooks nice!
Comment #3
Chi CreditAttribution: Chi commentedThis issue marked as duplicate: #1867252: Support drush completion
Comment #4
stevetweeddale CreditAttribution: stevetweeddale commentedOops, apologies Chi, I did search for issues before posting this one… the typo must have meant I didn't spot it.
Anyways, I had a look at your patch and perhaps having a function for returning features is a better plan. Also, surrounding the return looks like a nice idea; though I think I'd copied the patterns I saw in drush core so not sure it matters.
Comment #5
hefox CreditAttribution: hefox commentedneeds work based on #4