| Age | Commit message (Collapse) | Author | Files | Lines |
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Replace per-line $(echo|cut) and $(basename) in search_file with bash
parameter expansion (${line%%:*}, ${line#*:}, ${pkgname##*/}). On a
2504-package system this turns a broad 'lib' search from a >15min hang
into 3.3s, and 'zlib' from 1.5s to 0.04s.
Also:
- info: guard single match via mapfile; list candidates on multiple
matches instead of feeding less a broken multi-line path.
- Quote $1/$2/$PKGS_PATH so empty args and spaces are handled.
- Blank the color vars when stdout is not a TTY (no ANSI in pipes).
- $(basename $0) -> ${0##*/}, /bin/ls -> ls.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Slackware package query tool plus bash completion. Add GPLv2 LICENSE,
per-file headers, README, and CLAUDE.md.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|