[feature suggestion] copy one line, print the rest

John Gliksberg jg.trosh at gmail.com
Fri Jan 8 10:33:26 UTC 2021


> I am not sure if this approach is desirable or not, but it seems
> slightly more generalized than adding the special option discussed in
> this thread.

Also, you could add something like this to your shell for your specific usage:

pass2 () {
    pass show "$@" \
        | tee >(head --lines 1 | tr --delete '\n' | xclip -selection
clipboard) \
        | tail --lines +2
}

-- 
John Gliksberg


More information about the Password-Store mailing list