[pass] [PATCH 2/2] bashcomp: disable the 'filenames' completion option

Jason A. Donenfeld Jason at zx2c4.com
Mon May 11 13:51:30 CEST 2015


I don't really understand things well enough to evaluate this patch. Adding
Brian, the original author of the bash completion sriipto this thread;
perhaps he can shed some light.

On Sun, Mar 1, 2015 at 10:25 PM, <samuel.lethiec at intelunix.fr> wrote:

> (did not include this patch in the previous as I'm not entirely sure it
> does not come with some surprise)
>
> the filenames option was adding trailing slash when we already added one
>
> ---
>  src/completion/pass.bash-completion | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/completion/pass.bash-completion
> b/src/completion/pass.bash-completion
> index efd4b70..6f82c8d 100644
> --- a/src/completion/pass.bash-completion
> +++ b/src/completion/pass.bash-completion
> @@ -109,4 +109,4 @@ _pass()
>         fi
>  }
>
> -complete -o filenames -o nospace -F _pass pass
> +complete -o nospace -F _pass pass
> --
> 2.1.0
>
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20150511/85155caf/attachment.html>


More information about the Password-Store mailing list