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