zsh: move completion.d and functions.d to usr/share
[grml-etc-core.git] / usr_share_grml / zsh / completion / grml / _grml-wallpaper
diff --git a/usr_share_grml/zsh/completion/grml/_grml-wallpaper b/usr_share_grml/zsh/completion/grml/_grml-wallpaper
new file mode 100644 (file)
index 0000000..91893bf
--- /dev/null
@@ -0,0 +1,7 @@
+#compdef grml-wallpaper
+
+local -a dirs
+
+dirs=(. /usr/share/grml/)
+_description files expl 'set desktop wallpaper on grml system'
+_files "$expl[@]" -W dirs -g '*.{jpg,png}(-.)'