1
0
Fork 0

cat-highlight: Allow | without space in $LESSOPEN

This commit is contained in:
tastytea 2022-03-18 17:33:21 +01:00
parent 9358197167
commit 8dc3f6bad1
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ function cat-highlight()
fi
done
local catopen="${LESSOPEN/| /}"
local catopen="${LESSOPEN/|/}"
eval "${catopen/\%s/${files}} | \cat ${args}"
else
\cat $@