zsh: move completion.d and functions.d to usr/share
[grml-etc-core.git] / usr_share_grml / zsh / functions / grml / grml-wallpaper
diff --git a/usr_share_grml/zsh/functions/grml/grml-wallpaper b/usr_share_grml/zsh/functions/grml/grml-wallpaper
new file mode 100644 (file)
index 0000000..64c82aa
--- /dev/null
@@ -0,0 +1,6 @@
+# vim:filetype=zsh
+if [[ -f /usr/share/grml/"$1" ]] ; then
+    Esetroot -scale /usr/share/grml/"$1"
+else
+    Esetroot -scale "$@"
+fi