Bug#972868: xkcdpass: TAB-completion after --wordfile completes at directories

2022-02-23 Thread Ben Finney
Control: tags -1 + confirmed pending

On 25-Oct-2020, Jonas Smedegaard wrote:

> When in a bash shell typing "xkcdpass --wordfile /us" and hitting
> TAB, it completes to "xkcdpass --wordfile /usr ".
> 
> I would expect it to instead expand to "xkcdpass --wordfile /usr/"
> to indicate that files exist within that directory but (missing a
> space) the expansion is incomplete because the option takes a file
> as argument.

This results from the completion function failing to request “filename
processing” on the ‘--wordfile’ parameter when completing it.

I'll correct this in the next release.

-- 
 \  “Fox News gives you both sides of every story: the President's |
  `\  side and the Vice President's side.” —Steven Colbert, 2006-04-29 |
_o__)  |
Ben Finney 


signature.asc
Description: PGP signature


Bug#972868: xkcdpass: TAB-completion after --wordfile completes at directories

2020-10-25 Thread Jonas Smedegaard
Package: xkcdpass
Version: 1.16.5+dfsg.1-1
Severity: minor

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

When in a bash shell typing "xkcdpass --wordfile /us" and hitting TAB,
it completes to "xkcdpass --wordfile /usr ".

I would expect it to instead expand to "xkcdpass --wordfile /usr/"
to indicate that files exist within that directory but (missing a space)
the expansion is incomplete because the option takes a file as argument.


 - Jonas

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAl+VjKgACgkQLHwxRsGg
ASEcow//WXZdBBGB58+/li2XV2APtm9gf/9gFZYtMbZeLXDq2d9uKPO8qjvK5a7L
fgfsKagNOO569sXbrmXXrWUx3b1qXsnrwX/Se07R2nmIPG7A36kjvbezHqo3t12T
SoVrVfiIMmRtYxKvFdMsjzEpEAPDTjOLWN3rUbGKo8Sajf0Ba/xIw7ij7WNLVmgy
Ck9n4SZgHG4XHOglSCORlZP1hD4M06gzZaPhhRvGKz7EjQWPFZPeG0TO5p/luTsN
+y+srIwTPCEt21KWloe93ZpBG1WzvyUEepU1GsW248k6GUTOexCMwdlfIcOxibqb
QJogpuzAvledf/JFEw5hppS4o1sOVQghg3kCuXbWD2JYLNLtSWuTzIHvzcto7Q/z
VkDoNavChXmaEtHXWJ0TgxsjHyUdZOJTzwNZ+vM+C9RQ2dIFc4gTE6eznhzGRR7/
Yng21/Q1By4KNt6h3p8gfFLhV3SZo4gml6uu+L5JBliifpufYkmygRjyEu/lCexr
kAJxGF6vLjFW3nBJKBgZmw55WnZi3bYlsW5ABbgqNPLj2WsBHeqbLDP7qlAC023b
v4YlIbaxMPTuU4WZLgId9S2YL/tj10a2xYuCE8bapmMKVgb3pmctxc8FfODI5wFO
t+sO1FQEeM0YyJKtMynbkiNI/EuHnJEQy8FKNRDDRMQ8dONULEE=
=Gc4q
-END PGP SIGNATURE-