mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
ranger: fix out-of-the-box previews
I'm guessing this became commented out by default at some point.
This commit is contained in:
parent
46651b82b8
commit
4f14ccee07
@ -36,7 +36,7 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
# give file previews out of the box
|
||||
substituteInPlace ranger/config/rc.conf \
|
||||
--replace "set preview_script ~/.config/ranger/scope.sh" "set preview_script $out/share/doc/ranger/config/scope.sh"
|
||||
--replace "#set preview_script ~/.config/ranger/scope.sh" "set preview_script $out/share/doc/ranger/config/scope.sh"
|
||||
'' + optionalString imagePreviewSupport ''
|
||||
substituteInPlace ranger/ext/img_display.py \
|
||||
--replace /usr/lib/w3m ${w3m}/libexec/w3m
|
||||
|
Loading…
Reference in New Issue
Block a user