Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 23, 2025. It is now read-only.

Shell completions for the Zig compiler.

License

NotificationsYou must be signed in to change notification settings

ziglang/shell-completions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell completions for theZig compiler.

Installation for zsh

The_zig file needs to be included in your$fpath. This can be achieved in two ways:

  1. Move the_zig file to one of the folders listed in$fpath. You can list these folders withprint -l $fpath.
  2. Add the folder containing_zig to the$fpath. This can be achieved by addingfpath=(/path/to/this/repo/shell-completions $fpath) to your~/.zshrc file (to update the current terminal runsource ~/.zshrc).

Once the$fpath variable is updated, runcompinit to rebuild~/.zcompdump.

Installation for Oh My Zsh

  1. Clone the plugin aszig-shell-completions
git clone https://github.com/ziglang/shell-completions$ZSH/custom/plugins/zig-shell-completions
  1. Add the pluginzig-shell-completions to$plugin
plugins+=(zig-shell-completions)

Installation for bash

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

Stars

Watchers

Forks

Sponsor this project

    Contributors7


    [8]ページ先頭

    ©2009-2025 Movatter.jp