Skip to content

Conversation

@njg7194
Copy link

@njg7194 njg7194 commented Feb 1, 2026

Summary

This PR adds shell completion support for both Bash and Zsh.

Changes

  • Add Bash completion script (completions/has.bash)
  • Add Zsh completion script (completions/_has)
  • Update Makefile with install-completions and uninstall-completions targets
  • Update README with installation instructions for completions

Usage

After installation, users will get tab-completion for:

  • Options (-q, -h, --help, -v, --version, --color-*)
  • Command names available on the system

Closes #65

- Add bash completion script (completions/has.bash)
- Add zsh completion script (completions/_has)
- Update Makefile with install-completions and uninstall-completions targets
- Update README with shell completions installation instructions

Closes kdabir#65
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.

[feature] Add shell completions

1 participant