ajeetdsouza / zoxide

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

Tab completion for xonsh #386

Open jonocodes opened 2 years ago

jonocodes commented 2 years ago

🥺

ajeetdsouza commented 2 years ago

Related: https://github.com/xonsh/xonsh/issues/4536

It seems the way to do this would be to implement prompt_toolkit custom keybindings.

jonocodes commented 2 years ago

Or use this https://xon.sh/tutorial_completers.html

ajeetdsouza commented 2 years ago

The way completions are usually built is that we rely on the shell's builtin completions for <tab> completions, but we use fzf for <space><tab> completions (see the README). fzf just works better for completing things like long absolute paths.