Matthew Bauer
dd3cd1a167
Apply suggestions from code review
2022-09-02 10:50:02 -05:00
Matthew Bauer
bd63ae7e18
Don’t add a space after attrs completion in zsh
...
This matches the behavior of bash. We don’t want to add a space after
completion on attrs. Uses -S.
Switches to new compadd style comppletions instead of _describe.
Shouldn’t have any negative issues from what I can tell.
2022-09-01 23:16:55 -05:00
9d840758a8
completions: pipe stderr to /dev/null
...
This fixes weird issues where e.g.
nix build -L .#<tab>
deletes the current line from the prompt.
2022-02-04 22:43:16 +01:00
Matthew Bauer
79674c6cdb
Fix zsh completion script
...
Installed site-functions need to be run directly, not via compdef.
2021-06-12 23:50:26 -05:00
regnat
eea310b241
Add a zsh completion script
...
Based on @clhodapp's suggestion in https://github.com/spwhitt/nix-zsh-completions/issues/32#issuecomment-705315356 and adapted to use the description of the completions
2020-10-09 09:47:47 +02:00