From: Samir Benmendil Date: Fri, 13 Jan 2023 00:22:43 +0000 (+0000) Subject: ranger: support gpg files in scope.sh X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/12b9ffb37074643cefa47f561d90b3f240176cd6?ds=inline ranger: support gpg files in scope.sh --- 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