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

Script-installed autocomplete causes errors with Zsh #401

Open
xylix opened this issue Sep 7, 2018 · 1 comment
Open

Script-installed autocomplete causes errors with Zsh #401

xylix opened this issue Sep 7, 2018 · 1 comment

Comments

@xylix
Copy link

xylix commented Sep 7, 2018

Many Zsh configurations by default don't work out of the box with the way the script installs the autocompletion for zsh.

Besides sourcing the tmc-autocomplete.sh file the autocomplete install script could add

autoload bashcompinit
bashcompinit

into the zshrc file before sourcing tmc-autocomplete, but only if it's not already there. This lets zsh support bash completion and allows the autocompletions to work.

@cepti0n
Copy link

cepti0n commented Sep 10, 2018

I just tried to install tmc-cli, stumbled across the same problem and arrived here. I found out that I actually needed two lines in my .zshrc:
autoload bashcompinit
bashcompinit

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

No branches or pull requests

2 participants