aboutsummaryrefslogtreecommitdiffstats
path: root/.config/zsh/completions/_nvc
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/completions/_nvc')
-rw-r--r--.config/zsh/completions/_nvc9
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