From ba854747102924f28e58f617cb6718519710a345 Mon Sep 17 00:00:00 2001 From: Clément Decoodt Date: Thu, 26 Sep 2019 14:56:29 +0200 Subject: Follow symlinks while listing keys --- rofi-pass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rofi-pass b/rofi-pass index ddbbd9b..6af3e77 100755 --- a/rofi-pass +++ b/rofi-pass @@ -63,7 +63,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 } -- cgit