about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-02-08 23:05:10 +0100
committertoonn <toonn@toonn.io>2021-02-08 23:05:10 +0100
commit6035c7097b990f844cda4fa4d957210165def106 (patch)
treed7edc458440057493f63def352e98847122865b4
parent07bad7490a5dc019a58740b0323377437ab1e5da (diff)
parent2c271e3d86f20ec18dfa1fdc196de8ea04ac853e (diff)
downloadranger-6035c7097b990f844cda4fa4d957210165def106.tar.gz
Merge branch 'pkkm-add-quotes'
Note that word splitting and globbing aren't applied to the right-hand
side of assignments. This means these double-quotes aren't necessary.
They aren't harmful either though and including them might reduce
confusion while reading them.
-rwxr-xr-xranger/data/scope.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh
index 16adaf91..dd8db89c 100755
--- a/ranger/data/scope.sh
+++ b/ranger/data/scope.sh
@@ -40,12 +40,12 @@ FILE_EXTENSION_LOWER="$(printf "%s" "${FILE_EXTENSION}" | tr '[:upper:]' '[:lowe
 
 ## Settings
 HIGHLIGHT_SIZE_MAX=262143  # 256KiB
-HIGHLIGHT_TABWIDTH=${HIGHLIGHT_TABWIDTH:-8}
-HIGHLIGHT_STYLE=${HIGHLIGHT_STYLE:-pablo}
+HIGHLIGHT_TABWIDTH="${HIGHLIGHT_TABWIDTH:-8}"
+HIGHLIGHT_STYLE="${HIGHLIGHT_STYLE:-pablo}"
 HIGHLIGHT_OPTIONS="--replace-tabs=${HIGHLIGHT_TABWIDTH} --style=${HIGHLIGHT_STYLE} ${HIGHLIGHT_OPTIONS:-}"
-PYGMENTIZE_STYLE=${PYGMENTIZE_STYLE:-autumn}
-OPENSCAD_IMGSIZE=${RNGR_OPENSCAD_IMGSIZE:-1000,1000}
-OPENSCAD_COLORSCHEME=${RNGR_OPENSCAD_COLORSCHEME:-Tomorrow Night}
+PYGMENTIZE_STYLE="${PYGMENTIZE_STYLE:-autumn}"
+OPENSCAD_IMGSIZE="${RNGR_OPENSCAD_IMGSIZE:-1000,1000}"
+OPENSCAD_COLORSCHEME="${RNGR_OPENSCAD_COLORSCHEME:-Tomorrow Night}"
 
 handle_extension() {
     case "${FILE_EXTENSION_LOWER}" in