Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
1208104
docs: add zd refactor design spec
ss-o May 6, 2026
69a8311
docs: fix three spec gaps after self-review
ss-o May 6, 2026
d8d6b47
docs: add zd refactor implementation plan
ss-o May 6, 2026
ff5445a
feat: add scripts/ directory with build.sh and run.sh
ss-o May 7, 2026
77653c4
fix: correct Dockerfile path, extra args, CONTAINER_ROOT, and DEVEL i…
ss-o May 10, 2026
93b3f2f
feat: add tests/helpers.zsh with zi_test helper
ss-o May 12, 2026
2260ef2
feat: add tests/setup.zsh and teardown.zsh (no-sudo, ZI_DATA based)
ss-o May 12, 2026
09b7e18
feat: migrate annexes.zunit to zi_test helper
ss-o May 14, 2026
c63fe05
fix: add load helpers to annexes.zunit @setup block
ss-o May 14, 2026
04f5a70
feat: migrate ice.zunit to zi_test helper
ss-o May 14, 2026
08ad6c0
feat: migrate plugins.zunit to zi_test helper
ss-o May 14, 2026
d4f4acf
feat: migrate snippets.zunit to zi_test helper
ss-o May 14, 2026
9df73bf
feat: migrate packages.zunit to zi_test helper
ss-o May 14, 2026
b216713
refactor: entrypoint.sh — user creation only, drop runtime downloads
ss-o May 14, 2026
2432c26
refactor: Dockerfile — two-stage, zi pre-baked, ZSH_VERSION via zi pa…
ss-o May 14, 2026
2a1193c
refactor: zshrc sources zi directly; drop prepare_system/initiate_system
ss-o May 14, 2026
cd4fbbd
fix: docker-compose context updated to repo root for COPY tests/ to work
ss-o May 14, 2026
bc88091
feat: add test-native.yml — native ZUnit CI without Docker
ss-o May 14, 2026
bcf0079
feat: add test-matrix.yml — Docker Zsh version matrix (scheduled)
ss-o May 15, 2026
c88e300
chore: remove docker/tests/, old scripts, and superseded zunit.yml wo…
ss-o May 15, 2026
93807e0
feat: add Makefile for local testing and workflow_call to test-native…
ss-o May 15, 2026
15db086
docs: add README and usage documentation
ss-o May 15, 2026
bc7723d
refactor: update configs, workflows, docs, and docker files
ss-o May 15, 2026
630b4ae
Potential fix for pull request finding 'CodeQL / Workflow does not co…
ss-o May 15, 2026
61e1c7b
Potential fix for pull request finding 'CodeQL / Workflow does not co…
ss-o May 15, 2026
26ac278
fix: correct Docker build context, ARG name, and setup glob failure
ss-o May 15, 2026
94bc528
fix: replace CDN install and zi-pack with direct git clone; pin Alpin…
ss-o May 16, 2026
885986d
fix: remove packages absent in old Alpine; correct mv ice assertion
ss-o May 16, 2026
3d090f1
Potential fix for pull request finding
ss-o May 16, 2026
adbacae
Potential fix for pull request finding
ss-o May 16, 2026
9bb7b26
fix: make zunit clone step idempotent and keep clone errors visible
Copilot May 16, 2026
c8c198c
fix: restore full Zi init in zshrc and correct docs example path
Copilot May 16, 2026
855aeac
tests: update failing mv ice assertion to match new hook error message
ss-o May 16, 2026
808ff00
test: disable ANSI colors in zi_test subprocess
ss-o May 16, 2026
20b4845
feat: migrate Docker base from Alpine to debian:trixie-slim
ss-o May 16, 2026
ba01f61
fix: chmod a+x for zunit/revolver/color so non-root user can execute
ss-o May 16, 2026
11fece6
fix: resolve hadolint DL3003/DL3008/DL4001 trunk issues
ss-o May 16, 2026
afdecb2
fix: use wget for zsh source download; suppress DL4001
ss-o May 16, 2026
5bbfed6
fix(docker): use git clone from GitHub to build zsh from source
ss-o May 16, 2026
be1dc2c
fix(docker): patch termcap.c for GCC 14 / ncurses 6 type conflict
ss-o May 16, 2026
a1a127c
fix(docker): rename termcap arrays to avoid ncurses symbol collision
ss-o May 16, 2026
e1d6a62
fix(docker): skip doc install; use install.bin/fns/modules
ss-o May 16, 2026
70eaeff
fix: pin zdharma/zunit to v0.8.2 in Dockerfile and test-native.yml
ss-o May 16, 2026
75a830c
fix(docker): add automake; update config.guess/sub before building ol…
ss-o May 16, 2026
cdf6bc4
fix(docker): use autoreconf --install --force for missing configure s…
ss-o May 16, 2026
5b93b92
fix: arm64 config.guess + migrate revolver/color to z-shell/src
ss-o May 16, 2026
6ed0a98
fix: quote variable interpolation in zi_test to prevent injection
Copilot May 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 9 additions & 42 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,60 +1,27 @@
# Space or Tabs?
# https://stackoverflow.com/questions/35649847/objective-reasons-for-using-spaces-instead-of-tabs-for-indentation
# https://stackoverflow.com/questions/12093748/how-to-use-tabs-instead-of-spaces-in-a-shell-script
# https://github.com/editorconfig/editorconfig-defaults/blob/master/editorconfig-defaults.json
#
# 1. What happens when I press the Tab key in my text editor?
# 2. What happens when I request my editor to indent one or more lines?
# 3. What happens when I view a file containing U+0009 HORIZONTAL TAB characters?
#
# Answers:
#
# 1. Pressing the Tab key should indent the current line (or selected lines) one additional level.
# 2. As a secondary alternative, I can also tolerate an editor that,
# like Emacs, uses this key for a context-sensitive fix-my-indentation command.
# 3. Indenting one or more lines should follow the reigning convention, if consensus is sufficiently strong; otherwise,
# I greatly prefer 2-space indentation at each level. U+0009 characters should shift subsequent characters to the next tab stop.
#
# Note: VIM users should use alternate marks [[[ and ]]] as the original ones can confuse nested substitutions, e.g.: ${${${VAR}}}
#
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
# vim: ft=zsh sw=2 ts=2 et

root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.sln]
indent_style = tab
indent_style = space
indent_size = 2

Comment thread
ss-o marked this conversation as resolved.
[*.{md,mdx,rst}]
trim_trailing_whitespace = false

[*.{cmd,bat}]
end_of_line = crlf

[*za-*]
end_of_line = lf

[*.{sh,bash,zsh,fish}]
end_of_line = lf

[Makefile]
[Makefile*]
indent_style = tab
indent_size = 4

[*.{py,rb}]
[*.py]
indent_size = 4

[*.{go,java,scala,groovy,kotlin}]
[*.go]
indent_style = tab
indent_size = 4

[*.{cs,csx,cake,vb,vbx}]
# Default Severity for all .NET Code Style rules below
dotnet_analyzer_diagnostic.severity = warning
[*.java]
indent_style = tab
indent_size = 4
Empty file added .geminiignore
Empty file.
106 changes: 0 additions & 106 deletions .github/copilot-instructions.md

This file was deleted.

70 changes: 0 additions & 70 deletions .github/label-commenter-config.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .github/labeler.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ name: "CodeQL Advanced"

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]
schedule:
- cron: '17 7 * * 2'
- cron: "17 7 * * 2"

jobs:
analyze:
Expand Down
28 changes: 12 additions & 16 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,22 @@ jobs:
strategy:
fail-fast: false
matrix:
zsh_version:
- 5.5.1
- 5.6.2
- 5.7.1
- 5.8
- 5.8.1
- 5.9
include:
- { zsh_version: "5.5.1" }
- { zsh_version: "5.6.2" }
- { zsh_version: "5.7.1" }
- { zsh_version: "5.8" }
- { zsh_version: "5.8.1" }
- { zsh_version: "5.9" }
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: git clone --depth 1 -- https://github.com/z-shell/zi.git zi
- uses: docker/setup-qemu-action@v4
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v4
with:
install: true
use: true
- uses: docker/login-action@v4
with:
Expand All @@ -56,8 +54,8 @@ jobs:
with:
push: ${{ github.event.number == 0 }}
file: ./docker/Dockerfile
context: ./docker
build-args: ZI_ZSH_VERSION=${{ matrix.zsh_version }}
context: .
build-args: ZSH_VERSION=${{ matrix.zsh_version }}
tags: ghcr.io/${{ github.repository }}:zsh-${{ matrix.zsh_version }}
platforms: linux/amd64,linux/arm64
cache-from: type=gha
Expand All @@ -66,16 +64,14 @@ jobs:
build-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: git clone --depth 1 -- https://github.com/z-shell/zi.git zi
- uses: docker/setup-qemu-action@v4
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v4
with:
install: true
use: true
- uses: docker/login-action@v4
with:
Expand All @@ -89,7 +85,7 @@ jobs:
with:
push: true
file: ./docker/Dockerfile
context: ./docker
context: .
tags: ghcr.io/${{ github.repository }}:latest
platforms: linux/amd64,linux/arm64
cache-from: type=gha
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/labeler.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/lock.yml

This file was deleted.

Loading
Loading