From 9220c310ddfec4cfadb237a1b31c274a7c8ff244 Mon Sep 17 00:00:00 2001 From: nfnty Date: Sat, 28 Jan 2017 22:56:35 +0100 Subject: data/scope.sh: `$EXTENSION` -> `$FILE_EXTENSION` --- ranger/data/scope.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index 4fc720d3..3c050504 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -30,8 +30,8 @@ PV_HEIGHT="${3}" # Height of the preview pane (number of fitting charact IMAGE_CACHE_PATH="${4}" # Full path that should be used to cache image preview PV_IMAGE_ENABLED="${5}" # 'True' if image previews are enabled, 'False' otherwise. -EXTENSION="${FILE_PATH##*.}" -EXTENSION_LOWER="${EXTENSION,,}" +FILE_EXTENSION="${FILE_PATH##*.}" +FILE_EXTENSION_LOWER="${FILE_EXTENSION,,}" # Settings HIGHLIGHT_SIZE_MAX=262143 # 256KiB @@ -40,7 +40,7 @@ PYGMENTIZE_STYLE='autumn' handle_extension() { - case "${EXTENSION_LOWER}" in + case "${FILE_EXTENSION_LOWER}" in # Archive a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|\ rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip) -- cgit 1.4.1-2-gfad0