ajeetdsouza / zoxide

A smarter cd command. Supports all major shells.
MIT License
22.02k stars 536 forks source link

Interactive completions when using powershell #837

Closed tommdq closed 2 weeks ago

tommdq commented 3 months ago

Hey! I've been using zoxide for a while in windows with powershell. I recently discovered zoxide has a interactive completion when pression space + tab but this is not working for me, instead I get completion based on CWD. I don't know if this is a copy of https://github.com/ajeetdsouza/zoxide/issues/344 or if it's a missconfiguration of powershell, but I've tried a few things like remapping tab in user_profile config but with no results.

This is what i get after pressing space+tab instead of fzf competion. image

But if y use zi i get the fzf completion image

ajeetdsouza commented 2 weeks ago

The README does mention that interactive completions are only supported on 3 shells:

z foo<SPACE><TAB>  # show interactive completions (zoxide v0.8.0+, bash 4.4+/fish/zsh only)

I haven't found the time to add interactive completions for PowerShell, but if you'd like to submit a PR for it, I'd be more than happy to help.