Skip to content

Install zsh completions for core tools #1089

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

Closed
ghost opened this issue Apr 29, 2017 · 1 comment
Closed

Install zsh completions for core tools #1089

ghost opened this issue Apr 29, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 29, 2017

Everything below is about zsh. I have no idea about bash.

Both cargo and rustc have completions: here and here not even speaking of rustup, that can generate its own ones. It took me a good amount of time to find these completions for every project and create them manually. I guess they could and should be installed alongside with the tools, in particular:

  • ask whether the user wants to install completions for core tools
  • if yes, ask whether it should be system-wide or local
  • if system-wide, install to /usr/share/zsh/site-functions, if local, install somewhere in inner directories (~/.multirust/completions maybe? not sure) and tell the user to append this path to $fpath variable before compinit is executed

Also, I'm talking about the bootstrapper from the website ... | sh. Other types of installations might already do this. But in case they don't, it'd nice to have it there too.

Also, I'm not sure that rustc should have completions command - this is "one-and-done" and is useless afterwards only stealing attention.

Also, not sure about the debugger and other tools - they may need completions as well.

@ghost ghost changed the title Install zsh completion for basic programs Install zsh completions for core tools Apr 29, 2017
@Diggsey
Copy link
Contributor

Diggsey commented May 5, 2017

Dupe of #387

@Diggsey Diggsey closed this as completed May 5, 2017
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

1 participant