Skip to content

Fix Linux completion paths in install script#349

Open
cyq1017 wants to merge 1 commit into
dagger:mainfrom
cyq1017:codex/fix-345-completions-path
Open

Fix Linux completion paths in install script#349
cyq1017 wants to merge 1 commit into
dagger:mainfrom
cyq1017:codex/fix-345-completions-path

Conversation

@cyq1017
Copy link
Copy Markdown

@cyq1017 cyq1017 commented May 24, 2026

Fixes #345

Summary

  • preserve the existing macOS completion destinations while using XDG-backed Linux completion directories for bash and zsh
  • print mkdir -p commands before each completion redirection so the suggested commands do not fail on missing directories
  • add focused shell assertions for completion paths, completion directories, and instruction output

Verification

  • bash -n install.sh
  • bash -n scripts/test-install-completion-paths.sh
  • ./scripts/test-install-completion-paths.sh
  • git diff --check

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.

[Bug]: Completions suggested by the install script don't work on Linux

1 participant