mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-06-21 10:27:48 +02:00
Minor
This commit is contained in:
parent
0da19f7c37
commit
402e4aa932
@ -7,17 +7,20 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$batcmd" ]; then
|
if [ -n "$batcmd" ]; then
|
||||||
"$batcmd" --color always \
|
"$batcmd" \
|
||||||
|
--color always \
|
||||||
--style plain \
|
--style plain \
|
||||||
--paging never \
|
--paging never \
|
||||||
--terminal-width "$w" \
|
--terminal-width "$w" \
|
||||||
--wrap character \
|
--wrap character \
|
||||||
-- "$f"
|
-- "$f"
|
||||||
elif exists highlight; then
|
elif exists highlight; then
|
||||||
highlight --replace-tabs=4 --out-format=ansi \
|
highlight \
|
||||||
|
--replace-tabs=4 --out-format=ansi \
|
||||||
--style='pablo' --force -- "$f"
|
--style='pablo' --force -- "$f"
|
||||||
elif exists source-highlight; then
|
elif exists source-highlight; then
|
||||||
source-highlight --tab=4 --out-format=esc \
|
source-highlight \
|
||||||
|
--tab=4 --out-format=esc \
|
||||||
--style=esc256.style --failsafe -i "$f"
|
--style=esc256.style --failsafe -i "$f"
|
||||||
else
|
else
|
||||||
cat "$f"
|
cat "$f"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user