You are right, I forgot about your comment when I started to actually add this feature.
How about `-p` and `--prim`? It could be very symmetric to `-c` and `--clip`. Now that I'm thinking about it, perhaps this way we don't even need `$PASSWORD_STORE_DEFAULT_X_SELECTION` or `$PASSWORD_STORE_X_SELECTION` and the code will be even simpler. It will be even easier to document the new behaviour since we just need to say that `-c,--clip` puts the password in the `CLIPBOARD` selection and `-p,--prim` puts it in the `PRIMARY` clipboard selection. As for the matter regarding Mac OSx users, I think it's OK if on these machines it won't matter whether the user uses `-p,--prim` or `-c,--clip`. BTW, this new option doesn't make the code much more complicated as for OS compatibilities because there is already an OSx specific implementation of the `clip` function. This function suffered most of the changes I made. On Wed, Feb 07, 2018 at 10:13:40PM -0800, Radon Rosborough wrote: > I think using -C for this is a bad idea since the conventional meaning > of -C is to allow changing the working directory, and I think this > would be a useful feature for Password Store (because it seems rather > odd to me that the path to ~/.password-store is completely hardcoded). > I like the actual feature, I just think it should use a different > short option. > > Best, > Radon Rosborough > _______________________________________________ > Password-Store mailing list > [email protected] > https://lists.zx2c4.com/mailman/listinfo/password-store
signature.asc
Description: PGP signature
_______________________________________________ Password-Store mailing list [email protected] https://lists.zx2c4.com/mailman/listinfo/password-store
