Big rewrite of /etc/zsh/completion.d/, thanks to ft!
[grml-etc-core.git] / etc / zsh / completion.d / _fbset
diff --git a/etc/zsh/completion.d/_fbset b/etc/zsh/completion.d/_fbset
new file mode 100644 (file)
index 0000000..f7fb0b7
--- /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}