aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2020-06-12 19:21:58 +0200
committerGitHub <noreply@github.com>2020-06-12 19:21:58 +0200
commit63e870e6ad07fa7abad0d76038ffe97ac2e1a8e0 (patch)
tree604ae660284569ac7dcd360a99ade61de20b625c
parentb06d2226c104ae321cb749669026c66786f33d97 (diff)
parentba854747102924f28e58f617cb6718519710a345 (diff)
downloadrofi-pass-63e870e6ad07fa7abad0d76038ffe97ac2e1a8e0.tar.gz
Merge pull request #179 from didjcodt/symlink
Follow symlinks while listing keys
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index ab07cd4..7dcd537 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -70,7 +70,7 @@ has_qrencode() {
# get all password files and create an array
list_passwords() {
cd "${root}" || exit
- pw_list=(**/*.gpg)
+ pw_list=($(find -L * -name "*.gpg"))
printf '%s\n' "${pw_list[@]%.gpg}" | sort -n
}