zsh: move completion.d and functions.d to usr/share
[grml-etc-core.git] / usr_share_grml / zsh / completion / linux / _fbset
diff --git a/usr_share_grml/zsh/completion/linux/_fbset b/usr_share_grml/zsh/completion/linux/_fbset
new file mode 100644 (file)
index 0000000..42ab708
--- /dev/null
@@ -0,0 +1,15 @@
+#compdef fbset
+# simple completion for fbset (switch resolution on console)
+
+fb_modes=(
+    640x480-60 640x480-72 640x480-75 640x480-90 640x480-100
+    768x576-75
+    800x600-48-lace 800x600-56 800x600-60 800x600-70 800x600-72 800x600-75 800x600-90 800x600-100
+    1024x768-43-lace 1024x768-60 1024x768-70 1024x768-72 1024x768-75 1024x768-90 1024x768-100
+    1152x864-43-lace 1152x864-47-lace 1152x864-60 1152x864-70 1152x864-75 1152x864-80
+    1280x960-75-8 1280x960-75 1280x960-75-32
+    1280x1024-43-lace 1280x1024-47-lace 1280x1024-60 1280x1024-70 1280x1024-74 1280x1024-75
+    1600x1200-60 1600x1200-66 1600x1200-76
+)
+
+compadd ${fb_modes}