From 6489dc0441a4fcf1c089cca375339a65b610b1d5 Mon Sep 17 00:00:00 2001 From: Anton Zadvorny Date: Sat, 4 Jun 2022 23:26:56 +0300 Subject: [PATCH] Update pf command --- home/.zsh/cmd/pf.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/home/.zsh/cmd/pf.sh b/home/.zsh/cmd/pf.sh index fb44ade..16ebe44 100755 --- a/home/.zsh/cmd/pf.sh +++ b/home/.zsh/cmd/pf.sh @@ -1,5 +1,5 @@ ### PASS -# mnemonic: [P]ass[F]ind +# mnemonic: [P]ass [F]ind # search password in the passwotd store # press [enter] to copy selected password # press [escape] to exit @@ -32,7 +32,6 @@ candidates=$(list_entries) res=$(candidate_selector "$query" "$candidates") if [ -n "$res" ]; then - pass show "$res" | tail -n +2 || exit $? pass show -c "$res" else exit 1