[pass] [PATCH 2/4] Alias "set" to "insert".

Chris Down chris at chrisdown.name
Mon Sep 16 00:56:12 CEST 2013


On 2013-09-14 19:18, Jason A. Donenfeld wrote:
> On Fri, Sep 13, 2013 at 7:50 AM, Chris Down <chris at chrisdown.name> wrote:
> > I find myself typing "set" rather than "insert" almost every single time.
> > I do not find "insert" to be intuitive since pass does not use a row-based
> > database.
>
> I might consider this, but it seems a bit superfluous. Does anybody else on
> the list share this semantic point of view?

It's not a big deal, you can always do something like this:

    pass() {
        case "$1" in
            set) command pass insert "${@:2}" ;;
            *) command pass "$@"
        esac
    }

My point is more about whether "insert" is really appropriate, I think "set"
makes more sense considering the context.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20130916/8b67e7ce/attachment.asc>


More information about the Password-Store mailing list