diff options
author | Rasmus Steinke <rasi@xssn.at> | 2016-07-28 19:44:27 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2016-07-28 19:44:27 +0200 |
commit | 098d3d8417053d104fe851a454264c6b59e52c1b (patch) | |
tree | 0bcfd2b6eeec4c3c3da4ed83f037dc1c1dd0c235 | |
parent | ecc2af0c71006518c2b0e64c618ef34d1d6009cf (diff) | |
download | rofi-pass-098d3d8417053d104fe851a454264c6b59e52c1b.tar.gz |
remove strange while loop
-rwxr-xr-x | rofi-pass | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -216,7 +216,7 @@ Type field of entry with <span color='$help_color'>Enter</span>. For more help h # generate Array of fields password_temp=$(PASSWORD_STORE_DIR="${root}" pass "$selected_password") password="${password_temp%%$'\n'*}" - pass_key_value=$(echo "${password_temp}" | tail -n+2 | grep ': ' | while read line; do echo "${line%%: *}: ${line#* }"; done) + pass_key_value=$(echo "${password_temp}" | tail -n+2 | grep ': ') declare -A stuff while read -r LINE; do _id="${LINE%%: *}" |