summaryrefslogtreecommitdiffstats
path: root/.config/ranger/scope.sh
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-06-01 17:46:17 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-06-01 17:46:17 -0400
commitae8929205eb9e7e8e12a387a2f5f60c6a17e7518 (patch)
tree513a2721c35351cac6e323dee3d3502d8e36b9d4 /.config/ranger/scope.sh
parent51fff23636826df1c9ec0fffc69e24b3bfab935d (diff)
parent88dfd0afe9df8b613e292f2e288d9b775735c9b5 (diff)
downloadeibhear-ae8929205eb9e7e8e12a387a2f5f60c6a17e7518.tar.gz
eibhear-ae8929205eb9e7e8e12a387a2f5f60c6a17e7518.tar.zst
eibhear-ae8929205eb9e7e8e12a387a2f5f60c6a17e7518.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice into chambln-refactor
Diffstat (limited to '.config/ranger/scope.sh')
-rwxr-xr-x.config/ranger/scope.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/ranger/scope.sh b/.config/ranger/scope.sh
index cce86cf..174ba17 100755
--- a/.config/ranger/scope.sh
+++ b/.config/ranger/scope.sh
@@ -88,9 +88,9 @@ case "$extension" in
try odt2txt "$path" && { dump | trim; exit 5; } || exit 1;;
# HTML Pages:
htm|html|xhtml)
- try w3m -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; }
- try lynx -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; }
- try elinks -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; }
+ try w3m -dump "$path" && { dump | trim | fmt -s -w "$width"; exit 4; }
+ try lynx -dump "$path" && { dump | trim | fmt -s -w "$width"; exit 4; }
+ try elinks -dump "$path" && { dump | trim | fmt -s -w "$width"; exit 4; }
;; # fall back to highlight/cat if the text browsers fail
esac