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

Unable to install autocomplete #101

Closed
daaanny90 opened this issue Nov 20, 2020 · 5 comments · Fixed by #102
Closed

Unable to install autocomplete #101

daaanny90 opened this issue Nov 20, 2020 · 5 comments · Fixed by #102
Assignees
Labels

Comments

@daaanny90
Copy link
Contributor

Context

  • OS: MacOs Catalina 10.15.7
  • Terminal: Bash and zsh
  • mite-cli version: 1.5.0

Description

I'm trying to install autocomplete, with the command mite autocomplete install.

Expected Behavior

I should be able to choose the right shell type and go on with the installation.

Current Behavior

The choice is shown, but I cannot choose the shell type, because the installation script stops before I can do anything.

Dannys-MacBook-Pro:~ danny$ mite autocomplete install
? Which Shell do you use ? (Use arrow keys)
❯ bash 
  zsh 
  fish Usage: mite-autocomplete [options] [command]

Options:
  -V, --version  output the version number
  -h, --help     output usage information

Commands:
  install        Installs auto-completion for most of the mite subcommands,
                 options and arguments. Compatible with bash, fish and zsh. No
                 support for windows systems. Also note that it will only work
                 when mite is installed globally.
  uninstall      removes the auto-completion for mite

Dannys-MacBook-Pro:~ danny$

Steps to Reproduce

Just run mite autocomplete install, from bash or szh is the same.

@Ephigenia Ephigenia added the bug label Nov 20, 2020
@Ephigenia
Copy link
Owner

I will have to check this issue. I have an almost similar setup as yours (OS X, zsh, bash) and I was successful in setting up the auto completion. There might be a difference somewhere else.

Your post looks like you globally installed mite-cli. Is there something like nvm or other involved.

Can you please post the output of which mite-cli

@Ephigenia
Copy link
Owner

Thanks for bringing this up and fillin out all the survey!

@Ephigenia
Copy link
Owner

Confirmed. I also tried this in a fresh installed docker container and the prompt doesn’t wait until the shell is chosen. I’ll see what I can find out.

@Ephigenia
Copy link
Owner

Should be fixed in 1.6.0

@Ephigenia
Copy link
Owner

@daaanny90 does it work for you know?

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

Successfully merging a pull request may close this issue.

2 participants