[pass] [PATCH] Allow custom subcommands

2016-09-30 Thread Thorsten Wißmann
Hi, I have a couple of custom pass scripts (e.g. a custom clipboard wizard[1], or a custom file generation script). It would fit perfectly to the pass workflow if one could call those directly via pass, e.g. pass clipwiz Business/some-silly-business-site.com which should call

Re: [pass] [PATCH] Allow custom subcommands

2016-10-07 Thread Thorsten Wißmann
would call itself). So we have to hard-code the `pass` location, e.g.: #!/bin/bash if which "pass-$1" >/dev/null 2>&1; then exec "pass-$@" fi exec /usr/bin/pass "$@" Furthermore, the user has to take care that this wrapper script is plac

Re: [pass] [PATCH] Allow custom subcommands

2016-10-03 Thread Thorsten Wißmann
Hi Sylvain, On Mon, Oct 03, 2016 at 07:20:47AM +0200, Sylvain Viart wrote: > Le 30/09/2016 à 11:33, Thorsten Wißmann a écrit : > > if there is an executable pass-clipwiz in the PATH. This does not only > > fit the usual pass workflow (first show a file, then paste it using > &

Re: [Pull request] Shortcut feature

2017-03-26 Thread Thorsten Wißmann
Hi Ondrej, On Sun, Mar 26, 2017 at 04:34:06PM -0700, David A. wrote: > On Mon, 27 Mar 2017 00:51:22 +0200, Ondrej Vaško wrote: > >This commit introduces shortcut argument *-s* or *--shortcut* to *pass show > >*command with which you can reference password not by full path, but by > >number, which