summaryrefslogtreecommitdiffstats
path: root/.config/ranger
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-06-02 12:46:47 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-06-02 12:46:47 -0400
commitc4d6f4c027bb7e81093ec7c588f027de568e6bb6 (patch)
tree92b550aa1c66b52661d01f92122715aa09fc706c /.config/ranger
parent87b0754319a00648cd20b7f013cc821868f6d25e (diff)
parent0df700f504cedeac1ae354c650ea80b32ab7668c (diff)
downloadeibhear-c4d6f4c027bb7e81093ec7c588f027de568e6bb6.tar.gz
eibhear-c4d6f4c027bb7e81093ec7c588f027de568e6bb6.tar.zst
eibhear-c4d6f4c027bb7e81093ec7c588f027de568e6bb6.zip
Merge branch 'chambln-refactor'
Diffstat (limited to '.config/ranger')
-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