Make LESSOPEN work with multiple files
This commit is contained in:
parent
0cd89f0788
commit
9f90c6c8ed
|
@ -83,7 +83,7 @@ export PASSWORD_STORE_GENERATED_LENGTH="43"
|
||||||
export LESS="--tabs=4 --RAW-CONTROL-CHARS --LONG-PROMPT"
|
export LESS="--tabs=4 --RAW-CONTROL-CHARS --LONG-PROMPT"
|
||||||
|
|
||||||
if command -v highlight > /dev/null; then
|
if command -v highlight > /dev/null; then
|
||||||
LESSOPEN="| $(command -v highlight) --force --out-format=truecolor --style=molokai %s"
|
LESSOPEN="| $(command -v highlight) --force --out-format=truecolor --style=molokai --stdout %s"
|
||||||
elif command -v src-hilite-lesspipe.sh > /dev/null; then
|
elif command -v src-hilite-lesspipe.sh > /dev/null; then
|
||||||
LESSOPEN="| $(command -v src-hilite-lesspipe.sh) %s"
|
LESSOPEN="| $(command -v src-hilite-lesspipe.sh) %s"
|
||||||
elif command -v lesspipe > /dev/null; then
|
elif command -v lesspipe > /dev/null; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user