Fix passbemenu file find command

This commit is contained in:
Fabian Hauser 2022-01-03 11:53:45 +01:00
parent 3cc575be9e
commit 8306da0f09

View file

@ -14,7 +14,7 @@ let
export BEMENU_BACKEND=wayland export BEMENU_BACKEND=wayland
prefix=''${PASSWORD_STORE_DIR-~/.password-store} prefix=''${PASSWORD_STORE_DIR-~/.password-store}
password_files=( "$prefix"/**/*.gpg ) password_files=( $(find -L "$prefix" -type f -name '*.gpg') )
password_files=( "''${password_files[@]#"$prefix"/}" ) password_files=( "''${password_files[@]#"$prefix"/}" )
password_files=( "''${password_files[@]%.gpg}" ) password_files=( "''${password_files[@]%.gpg}" )