jupyter_core icon indicating copy to clipboard operation
jupyter_core copied to clipboard

Completion in bash 5

Open LeonardoGentile opened this issue 4 years ago • 1 comments

I'm on bash 5.1.4 on Mac Os. I've download and the jupyter-completion.bash and I load it with bash-completion

It is correctly loaded but when I type jupyter followed by a tab I get this result

notebook tqtconsole tconsole tnbconvert tkernelspec ttrust t

and the cursor will be moved to the end of the line, so there is nothing I can do there, I do have to clean the entire output and type the command manually.

The same thing happen if I type jupyter no + tab: no is completed to notebook and then the rest of the commands are printed and the curso will be moved at the end of the line.

Is this an incompatibility with bash >4 or with the bash-completion package?

LeonardoGentile avatar Feb 10 '21 16:02 LeonardoGentile

@LeonardoGentile hmmmm... I wonder if this is something on the bash-completion end.

Can you test just by doing source examples/jupyter-completion.bash, without using bash-completion?

For me, on bash 5.1.4(1) - jupyter no<tab> completes to jupyter notebook and doesn't print anything additional.

ivanov avatar May 07 '21 19:05 ivanov