summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-04-28 05:09:05 -0400
committerJesse Luehrs <doy@tozt.net>2020-04-28 05:09:05 -0400
commit1f8c162426ef022cb1a884851b3fa64ff807d8a0 (patch)
tree5a661d738db667ccd3402e2e115dc564d892ce7a
parentd4fb6f772b954a62cc13828f1b3a2a2c717ea4bd (diff)
downloadconf-1f8c162426ef022cb1a884851b3fa64ff807d8a0.tar.gz
conf-1f8c162426ef022cb1a884851b3fa64ff807d8a0.zip
don't run rbw if nothing was selected
-rwxr-xr-xbin/hush/p2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hush/p b/bin/hush/p
index 34849c2..79c57c3 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'$_ = "$F[0]/$F[1]\t$_"' | fzf --with-nth=1 | 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 -r rbw get