[FEATURE] Bash completion for Claude Code tool
Status Open
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 10 comments · opened Sep 17, 2025
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Claude Code doesn't install bash completion for the claude tool.
Proposed Solution
When claude is installed, bash completion script for claude is installed in the system. So when typing, for example, claude --he and clicking Tab, it should complete to claude --help.
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
10 Comments
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Still relevant. don't close
second!
+1, long due!
+1
It would be great to have
zshsupport alongsidebash. 🙂pls
For zsh users, in the mean time, you can add this to your
.zshrcto get fairly reasonable completion:This uses zsh's built-in
_gnu_genericcompleter, which parses--helpoutput to generate completions automatically.Until there is an official way to handle this, I've created my own workaround: https://github.com/cblecker/claude-completion
Looking for this feature too