summaryrefslogtreecommitdiff
path: root/.local/bin/menu
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/menu')
-rwxr-xr-x.local/bin/menu/pass4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/menu/pass b/.local/bin/menu/pass
index 86fd1ee..112cb64 100755
--- a/.local/bin/menu/pass
+++ b/.local/bin/menu/pass
@@ -9,8 +9,8 @@ entry=$(find "$PASSWORD_STORE_DIR" -name '*.gpg' |\
eval "$MENU_CMD") || exit 1
details=$(pass "$entry") || exit 1
-user=$(echo "$details" | sed -n '2p' | sed 's|user: ||')
-pass=$(echo "$details" | head -n1)
+user=$(printf '%s' "$details" | sed -n '2p' | sed 's|user: ||')
+pass=$(printf '%s' "$details" | head -n1)
case "$(printf "autotype\npass\nuser" | eval "$MENU_CMD")" in
autotype)