> I had also considered whether a test made sense, but I wasn't at all > familiar with the completion tests. It looks like we're not even testing > "-d", so I'm happy to proceed without one. Thanks for the many replies and quick fix. Just to flag another issue that I raised that's in the same space of bash completions: https://lore.kernel.org/git/CACoUkn7D52ox2MgUfS2uQtLa28twccfxnQnUteVV_yFfVLFQdQ@xxxxxxxxxxxxxx/ That, however, might be more tricky? Thanks, Paul