Add pandoc PDF alias

inky
Elnu 1 year ago
parent bbd84398c5
commit fb7dd4a4ee

@ -105,6 +105,10 @@ in
# Change to directory when exiting ranger with Q
# https://github.com/ranger/ranger/issues/1554#issuecomment-491650123
bashrcExtra = ''
function pdf {
pandoc "$1" -o "''${1%.*}.pdf" -V colorlinks=true -V linkcolor=blue
}
function ranger {
local IFS=$'\t\n'
local tempfile="$(mktemp -t tmp.XXXXXX)"

Loading…
Cancel
Save