This project aims to provide a highly complete set of ZSH completions for Nix, NixOS, NixOps, and the surrounding ecosystem.
git clone [email protected]:spwhitt/nix-zsh-completions.git ~/.oh-my-zsh/custom/plugins/nix
Then add nix
to the plugins list in ~/.zshrc
Add the following to ~/.zshrc
antigen bundle [email protected]:spwhitt/nix-zsh-completions.git
Clone this repository and add the following to ~/.zshrc
with the path to
nix-zsh-completions
updated as necessary.
source $HOME/nix-zsh-completions/nix.plugin.zsh
fpath=($HOME/nix-zsh-completions $fpath)
autoload -U compinit && compinit