From 12b9ffb37074643cefa47f561d90b3f240176cd6 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Fri, 13 Jan 2023 00:22:43 +0000 Subject: [PATCH] ranger: support gpg files in scope.sh --- ranger/scope.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ranger/scope.sh b/ranger/scope.sh index 2e9983e..ff3465b 100755 --- a/ranger/scope.sh +++ b/ranger/scope.sh @@ -107,6 +107,11 @@ handle_extension() { pandoc -s -t markdown -- "${FILE_PATH}" && exit 5 ;; + # GnuPG + gpg) + gpg --decrypt "$path" | trim && exit 5 + ;; + ## JSON json) jq --color-output . "${FILE_PATH}" && exit 5 -- 2.48.1