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

Include shell completions #702

Closed
kolloch opened this issue Nov 2, 2023 · 1 comment
Closed

Include shell completions #702

kolloch opened this issue Nov 2, 2023 · 1 comment

Comments

@kolloch
Copy link

kolloch commented Nov 2, 2023

Out-of-the box, after using nix-installer, the shell completions for the nix commands do not seem to be available for me. It would be nice if this included the nix commands itself but also any other commands installed by the user through nix.

[I am using the nix-installer but then override the installed nix from a flake, so I hope I didn't mess this up through that step but I don't think so.]

(Tested on Ubuntu, WSL2/Ubuntu, Mac OS)

It seems to work for me on Ubuntu with XDG_DATA_DIRS and fpath extensions.

@Hoverbear
Copy link
Contributor

Thanks for this report: I fully agree and want this as well.

This issue is a duplicate of #486, for which a fix has been proposed upstream (NixOS/nix#8985). Progress there seems to have stalled so perhaps we need to consider adding this to the installer instead -- it's just a pain.

@Hoverbear Hoverbear changed the title Include shell completions (Duplicate) Include shell completions Nov 2, 2023
@Hoverbear Hoverbear changed the title (Duplicate) Include shell completions Include shell completions Nov 2, 2023
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