about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorMarie-Helene Burle <marie.burle@westgrid.ca>2020-12-14 16:45:44 -0800
committerMarie-Helene Burle <marie.burle@westgrid.ca>2020-12-14 16:45:44 -0800
commit17fd78600696b59811166908b8676fa17d12b7ef (patch)
tree51379488ea4ce5bc07bd7ce4c9eb84ebc0e6656c /ranger
parent5047d9e5ae266a8860b99f282475a832b441394b (diff)
downloadranger-17fd78600696b59811166908b8676fa17d12b7ef.tar.gz
scope.sh: add ipynb ext to json
Diffstat (limited to 'ranger')
-rwxr-xr-xranger/data/scope.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh
index f403ed83..a3e1bedf 100755
--- a/ranger/data/scope.sh
+++ b/ranger/data/scope.sh
@@ -104,7 +104,7 @@ handle_extension() {
             ;;
 
         ## JSON
-        json)
+        json|ipynb)
             jq --color-output . "${FILE_PATH}" && exit 5
             python -m json.tool -- "${FILE_PATH}" && exit 5
             ;;