Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for arbitrary script test to fix zsh incompatibilities #22

Merged
merged 2 commits into from
May 21, 2022

Conversation

DannyBen
Copy link
Owner

@DannyBen DannyBen commented May 21, 2022

  • The inclusion of _init_completion in the generated script, introduced in Improve template #12 and Improve template (fixed) #13 broke ZSH compatibility - so the function is removed with this PR.
  • The source /usr/share/bash-completion/bash_completion line in the script tester template is also not zsh compatible - so it was removed as well.
  • This means that the completely tester command can no longer be used for testing arbitrary scripts. It is now confined to testing completely scripts only.
  • In addition the COMPLETELY_SCRIPT_PATH environment variable was changed to COMPLETELY_OUTPUT_PATH.

There might be a way to bring this functionality back, but since 0.4.0 is currently broken for zsh users, this fix is necessary.

Closes #20

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.

Completions are broken in zsh in 0.4.0
1 participant