diff options
-rwxr-xr-x | rofi-pass | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |