diff --git a/pkgs/sops-shell-hook/sops-shell-hook.bash b/pkgs/sops-shell-hook/sops-shell-hook.bash index a9edbd6..30fc58c 100644 --- a/pkgs/sops-shell-hook/sops-shell-hook.bash +++ b/pkgs/sops-shell-hook/sops-shell-hook.bash @@ -14,7 +14,7 @@ sopsShellHook() { for dir in $sopsGPGKeyDirs; do while IFS= read -r -d '' key; do _sopsAddKey "$key" - done < <(find "$dir" -type f -name '*.asc' -print0) + done < <(find "$dir" -type f -name '*.gpg' -o -name '*.asc' -print0) done }