Releases: c-blake/lc
The 1-line install instructions now have a chance of just working
I think that is probably pretty helpful for new users who just want to try it out.
Add documentation & make related user-friendliness changes
Make many changes related to #5 and behavior of other ls
-es:
- Add a man page & update --help
- Have lc.nim be less abbreviated in kind & test names
- Add %I for "I)con" format alias
- Drop AUTOMOUNT non-persistent extended attribute
- Make xattr format a 6 terminal column fmt
- Add BLOCK_SIZE/BLOCKSIZE/POSIXLY_CORRECT
- Change -B -> -b
Also, try to get nimble install lc
to put a system etc/lc/config
in place for 1-line install instructions. This is a work in progress and may require another release.
define:nimPreviewProcConversion compatibility
Add a preview compatibility in case someone has aggressively forward-thinking nim.cfg's. Bump minor.
This could go to 1.0.0 - I have been using it dozens to hundreds of times per day for 4 years (to this very date!) with no real trouble.
Major 1.0 should, however, probably wait until possibly cleaving cligen/magic
into its own package -- just about the easiest part of c-blake/cligen#201
BREAKING CHANGE -B -> -b
procs
has long used lowercase -b
to switch to "binary metric" units. It is high time lc
did the same.
This also fixes a few hint[Performance] warnings, hopefully without introducing bugs and updates the documentation to try to be more comprehensible.
Silence some warnings & update dep vsns
Just BareExcept and LineTooLong, really.
Also update cligen & nim deps to more modern.
Cross nim compatibility & minor doc update
Track exit code saturation change, handle nimPreviewSlimSystem, document "properly" (hah!) the maxName stuff, and nix some shallowCopy business.
Minor fixes
Adapt to nim-lang/Nim#17402
Build cleanly under --styleCheck:hint --styleCheck:usages
and silence some
warnings.
Various minor updates to the distributed example config.
Add --hyperlink
Add a longstanding TODO feature thanks to @SolitudeSF for terminals supporting clickable hypertext like kitty
.
Do not rely on #head in nimble
Fix several annoying bugs. As usual the git log should cover most questions.
Add `expandFit` feature and pattern quoting
Example usage: lc -Fm-6 /bin
. Also,
qs=qs="?[](){} ';\!\$\#\^\`\~"
lc "-Fm-6,,,*,$qs" /somedir/with/shell/hostile/names
Note these only work for compression levels -m-[456]
and instead of the shell variable above it's also fine to create add-on styles in your ~/.config/lc/style
so you can just say, e.g., lc -c5 /somedir
when you want, say, expanded compression with pattern quoting.