feat: support path completion of named directories (as in zsh)
Open
Nobody has claimed this yet.
area:completions
enhancement
triaged
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
Dupe Check
- I have searched Warp feature requests and there are no duplicates
Describe the solution you'd like?
In zsh you can do this to create shortcuts to directories:
# in .zshrc
projects=~/Documents/Projects
notes=~/Documents/Personal/Notes
and then reference them, e.g., ~notes/bla.md, on the command line. This works when you do actual commands, e.g., cd ~notes, but completion doesn't work. I would expect to be able to do:
cd ~projects/<TAB>
and have the auto-complete kick in.
Is your feature request related to a problem? Please describe.
Yes, I hit but I'm not getting the path completion.
Additional context
See zsh manual
How important is this feature to you?
3
Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating Warp's command-line path-completion entry point and compare its behavior with zsh named-directory expansion; done means completing paths after forms such as cd ~projects/<TAB> and cd ~notes/<TAB>.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, shell, zsh
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100