aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Hannen <cantares1+git@gmail.com>2016-05-24 23:21:56 +0200
committerDominik Hannen <cantares1+git@gmail.com>2016-05-24 23:21:56 +0200
commitff62ec6ca114020d43300565b7587e32f0b11d89 (patch)
tree47901d617b7e7551dd54e159dfbc10b2e7c1b555
parentb9025da7a8189fe433d04090e22503c7ba4f7e20 (diff)
downloadrofi-pass-ff62ec6ca114020d43300565b7587e32f0b11d89.tar.gz
This really fixes #39
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index 6fd9d9a..aa13dc7 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -291,7 +291,7 @@ actionMenu () {
showEntry () {
HELP="<span color='$help_color'>${type_entry}: Type Entry | ${copy_entry}: Copy Entry</span>"
- bla=$(echo -e "0 Return\n---\n$(PASSWORD_STORE_DIR="${root}" pass "$selected_password")" | _rofi -dmenu -mesg "${HELP}" -p "> ")
+ bla=$({ echo -e "0 Return\n---"; PASSWORD_STORE_DIR="${root}" pass "$selected_password";} | _rofi -dmenu -mesg "${HELP}" -p "> ")
rofi_exit=$?
password_temp=$(PASSWORD_STORE_DIR="${root}" pass "$selected_password")
password=$(echo "${password_temp}" | head -1)