summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-04-23 22:37:01 -0400
committerJesse Luehrs <doy@tozt.net>2020-04-23 22:37:01 -0400
commitc62a4ca2600db9e1ad687f388f49deadebf7033c (patch)
tree6452c0262e108cfc9e5169d47040b586beee1626 /bin
parent11df46d3c4527ca467b2c9fe06425be23276c003 (diff)
downloadconf-c62a4ca2600db9e1ad687f388f49deadebf7033c.tar.gz
conf-c62a4ca2600db9e1ad687f388f49deadebf7033c.zip
fix password selection for entries with no user
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hush/p2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hush/p b/bin/hush/p
index 1b281ec..34849c2 100755
--- a/bin/hush/p
+++ b/bin/hush/p
@@ -2,4 +2,4 @@
set -eu
set -o pipefail
-rbw ls --fields name,user | perl -pale'$_ .= "\t$F[0]/$F[1]"' | fzf --with-nth=3 | perl -pale's/\t[^\t]*$//' | xargs rbw get
+rbw ls --fields name,user | perl -pale'$_ = "$F[0]/$F[1]\t$_"' | fzf --with-nth=1 | perl -pale's/^[^\t]*\t//' | xargs rbw get