Skip to content

feat: zsh support + uniform CI matrix#1

Merged
alexzhangs merged 1 commit into
mainfrom
feature/zsh-support
Jun 14, 2026
Merged

feat: zsh support + uniform CI matrix#1
alexzhangs merged 1 commit into
mainfrom
feature/zsh-support

Conversation

@alexzhangs

Copy link
Copy Markdown
Contributor

Brings xsh-lib/xsql in line with the rest of the family: zsh-compatible utilities, a functional test.sh, the uniform bash 3.2/4.4/5.x + zsh 5.x CI matrix (loads xsh-lib/core), standardized badges + tested-platforms matrix, and drops the .idea/ .gitignore entry.

Code changes: ${!varname}eval (query.sh) and read -ra→comma/space split (parser.sh) for zsh portability.

- query.sh: ${!varname} array-element indirection -> eval (bash-only -> portable)
- query/parser.sh: read -ra field list -> comma/space word-split (zsh has no read -a)
- add test.sh (functional suite; self-sources ~/.xshrc to run under the matrix shell)
- CI: rename to ci.yml (name: CI) + full bash 3.2/4.4/5.x + zsh 5.x matrix, loads xsh-lib/core
- README: standard badge header + tested-platforms matrix
- drop .idea/ from .gitignore (IDE artifacts handled outside the repo)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@alexzhangs alexzhangs merged commit 5816e23 into main Jun 14, 2026
9 of 12 checks passed
@alexzhangs alexzhangs deleted the feature/zsh-support branch June 14, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant