mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Add a fish completion script
This is only rudimentary support as allowed by `NIX_GET_COMPLETIONS`. In the future, we could use complete’s `--wraps` argument to autocomplete arguments for programs after `nix shell -c`.
This commit is contained in:
parent
323e5450a1
commit
bee71e1bb1
3 changed files with 39 additions and 0 deletions
1
misc/fish/local.mk
Normal file
1
misc/fish/local.mk
Normal file
|
@ -0,0 +1 @@
|
|||
$(eval $(call install-file-as, $(d)/completion.fish, $(datarootdir)/fish/vendor_completions.d/nix.fish, 0644))
|
Loading…
Add table
Add a link
Reference in a new issue