Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completion in bash 5 #216

Open
LeonardoGentile opened this issue Feb 10, 2021 · 1 comment
Open

Completion in bash 5 #216

LeonardoGentile opened this issue Feb 10, 2021 · 1 comment

Comments

@LeonardoGentile
Copy link

LeonardoGentile commented Feb 10, 2021

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?

@ivanov
Copy link
Member

ivanov commented May 7, 2021

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants