cat-highlight: Allow | without space in $LESSOPEN
This commit is contained in:
parent
9358197167
commit
8dc3f6bad1
|
@ -45,7 +45,7 @@ function cat-highlight()
|
|||
fi
|
||||
done
|
||||
|
||||
local catopen="${LESSOPEN/| /}"
|
||||
local catopen="${LESSOPEN/|/}"
|
||||
eval "${catopen/\%s/${files}} | \cat ${args}"
|
||||
else
|
||||
\cat $@
|
||||
|
|
Loading…
Reference in New Issue
Block a user