diff options
author | David Runge <dave@sleepmap.de> | 2024-01-05 17:06:06 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2024-01-05 17:06:06 +0100 |
commit | 2d8f0c8706a68c5704c08fc998cd2a6e140a3765 (patch) | |
tree | a80f5e0fcb01789280056763db892c73d7749ece /.config/zsh/completions/_nvc | |
parent | 998e0e24fe505824471168d9c9344e203a98c487 (diff) | |
download | dotfiles-2d8f0c8706a68c5704c08fc998cd2a6e140a3765.tar.gz dotfiles-2d8f0c8706a68c5704c08fc998cd2a6e140a3765.tar.bz2 dotfiles-2d8f0c8706a68c5704c08fc998cd2a6e140a3765.tar.xz dotfiles-2d8f0c8706a68c5704c08fc998cd2a6e140a3765.zip |
zsh: Add custom completions for the nvc and nvt wrappers
Signed-off-by: David Runge <dave@sleepmap.de>
Diffstat (limited to '.config/zsh/completions/_nvc')
-rw-r--r-- | .config/zsh/completions/_nvc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/zsh/completions/_nvc b/.config/zsh/completions/_nvc new file mode 100644 index 0000000..0a64012 --- /dev/null +++ b/.config/zsh/completions/_nvc @@ -0,0 +1,9 @@ +#compdef nvc + +_nvc() { + local config_dir + config_dir="$HOME/.config/nvchecker/" + _arguments "1:Arch Linux repository:( $config_dir/*.toml(:t:r) )" +} + +compdef _nvc nvc |