Shell completions for the Zig compiler.
The _zig file needs to be included in your $fpath. This can be achieved in two ways:
- Move the
_zigfile to one of the folders listed in$fpath. You can list these folders withprint -l $fpath. - Add the folder containing
_zigto the$fpath. This can be achieved by addingfpath=(/path/to/this/repo/shell-completions $fpath)to your~/.zshrcfile (to update the current terminal runsource ~/.zshrc).
Once the $fpath variable is updated, run compinit to rebuild ~/.zcompdump.