diff options
author | Paweł Kraśnicki <paul.krasnicki@gmail.com> | 2021-02-06 23:52:14 +0100 |
---|---|---|
committer | Paweł Kraśnicki <paul.krasnicki@gmail.com> | 2021-02-07 19:44:02 +0100 |
commit | 2c271e3d86f20ec18dfa1fdc196de8ea04ac853e (patch) | |
tree | d7edc458440057493f63def352e98847122865b4 /ranger | |
parent | 07bad7490a5dc019a58740b0323377437ab1e5da (diff) | |
download | ranger-2c271e3d86f20ec18dfa1fdc196de8ea04ac853e.tar.gz |
scope.sh: add quotes around variables
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/data/scope.sh | 10 |
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 |