aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrofi-pass6
1 files changed, 3 insertions, 3 deletions
diff --git a/rofi-pass b/rofi-pass
index 0f3edc2..1083648 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -311,11 +311,11 @@ mainMenu () {
26) ${basecommand} --bmarks; return;;
esac
- mapfile -t password_temp < <(PASSWORD_STORE_DIR="${root}" pass "$selected_password")
+ mapfile -t password_temp < <(PASSWORD_STORE_DIR="${root}" pass show "$selected_password")
password=${password_temp[0]}
if [[ ${password} == "#FILE="* ]]; then
pass_file="${password#*=}"
- mapfile -t password_temp < <(PASSWORD_STORE_DIR="${root}" pass "${pass_file}")
+ mapfile -t password_temp < <(PASSWORD_STORE_DIR="${root}" pass show "${pass_file}")
password=${password_temp[0]}
fi
fields=$(printf '%s\n' "${password_temp[@]:1}" | awk '$1 ~ /:$/{$1=$1;print}')
@@ -480,7 +480,7 @@ actionMenu () {
showEntry () {
if [[ -z $pass_content ]]; then
- password_temp=$(PASSWORD_STORE_DIR="${root}" pass "$selected_password")
+ password_temp=$(PASSWORD_STORE_DIR="${root}" pass show "$selected_password")
password="${password_temp%%$'\n'*}"
pass_key_value=$(printf '%s' "${password_temp}" | tail -n+2 | grep ': ')
declare -A stuff