Big rewrite of /etc/zsh/completion.d/, thanks to ft!
[grml-etc-core.git] / etc / zsh / completion.d / _grml-wallpaper
diff --git a/etc/zsh/completion.d/_grml-wallpaper b/etc/zsh/completion.d/_grml-wallpaper
new file mode 100644 (file)
index 0000000..c84be17
--- /dev/null
@@ -0,0 +1,5 @@
+#compdef grml-wallpaper
+
+dirs=(. /usr/share/grml/)
+_description files expl 'set desktop wallpaper on grml system'
+_files "$expl[@]" -W dirs -g '*.{jpg,png}(-.)'