This repository was archived by the owner on Nov 23, 2025. It is now read-only.
Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork19
Shell completions for the Zig compiler.
License
NotificationsYou must be signed in to change notification settings
ziglang/shell-completions
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Shell completions for theZig 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, runcompinit to rebuild~/.zcompdump.
- Clone the plugin as
zig-shell-completions
git clone https://github.com/ziglang/shell-completions$ZSH/custom/plugins/zig-shell-completions- Add the plugin
zig-shell-completionsto$plugin
plugins+=(zig-shell-completions)
curl -LO"https://raw.githubusercontent.com/ziglang/shell-completions/master/_zig.bash"echo".$PWD/_zig.bash">>~/.bashrc
About
Shell completions for the Zig compiler.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.