zoxide icon indicating copy to clipboard operation
zoxide copied to clipboard

Tab completion for xonsh

Open jonocodes opened this issue 2 years ago • 3 comments

🥺

jonocodes avatar Apr 27 '22 23:04 jonocodes

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

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

ajeetdsouza avatar Apr 27 '22 23:04 ajeetdsouza

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

jonocodes avatar Apr 27 '22 23:04 jonocodes

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.

ajeetdsouza avatar Apr 28 '22 00:04 ajeetdsouza