all repos — pw @ e331e3b77386f44fdfb15155110c747046b993e7

minimal password store

-s now shows the full file

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Mon, 13 Jan 2020 18:24:36 +0000
commit

e331e3b77386f44fdfb15155110c747046b993e7

parent

2b60c621abcaa7425260ca5e7393b9dd964f315c

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M pwpw

@@ -52,14 +52,14 @@ }

show() { checkf "$PW_DIR/$1.gpg" - gpg2 --decrypt --quiet --use-agent "$PW_DIR/$1.gpg" | head -1 + gpg2 --decrypt --quiet --use-agent "$PW_DIR/$1.gpg" } # TODO: rework having to checkf twice copy() { checkf "$PW_DIR/$1.gpg" - show "$1" | xclip -rmlastnl -selection clipboard + show "$1" | head -1 | xclip -rmlastnl -selection clipboard printf "pw: copied %s to clipboard" "$1" }