mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-15 15:20:02 +00:00
Introduce zstd into cosmopolitan (#843)
This commit is contained in:
parent
c0348330a5
commit
5f1e129222
106 changed files with 64014 additions and 0 deletions
8
third_party/zstd/programs/zstdless
vendored
Executable file
8
third_party/zstd/programs/zstdless
vendored
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
zstd=${ZSTD:-zstd}
|
||||
|
||||
# TODO: Address quirks and bugs tied to old versions of less, provide a mechanism to pass flags directly to zstd
|
||||
|
||||
export LESSOPEN="|-${zstd} -cdfq %s"
|
||||
exec less "$@"
|
Loading…
Add table
Add a link
Reference in a new issue