about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-07-10 12:32:22 +0000
committerClint Adams <clint@users.sourceforge.net>2005-07-10 12:32:22 +0000
commitb305d6406c6a5fc5d32c61503ccc368e60060d98 (patch)
tree30b7120f1efda57d94123d0e25cb17e2f233a248
parentaa75b34156085b72a6fca2135e059e850603ed89 (diff)
downloadzsh-b305d6406c6a5fc5d32c61503ccc368e60060d98.tar.gz
zsh-b305d6406c6a5fc5d32c61503ccc368e60060d98.tar.xz
zsh-b305d6406c6a5fc5d32c61503ccc368e60060d98.zip
21417: completion for xscreensaver-command.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_xscreensaver17
2 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 89ee48747..418c66043 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
 	* 21416: Completion/Unix/Command/_gpg: cope with an equals
 	sign after --keyring.
 
+	* 21417: Completion/Unix/Command/_xscreensaver: completion
+	for xscreensaver-command.
+
 2005-07-08  Peter Stephenson  <pws@csr.com>
 
 	* users/9059: Nikolai Weibull: Completion/Unix/Command/_vim:
diff --git a/Completion/Unix/Command/_xscreensaver b/Completion/Unix/Command/_xscreensaver
new file mode 100644
index 000000000..1d6b78341
--- /dev/null
+++ b/Completion/Unix/Command/_xscreensaver
@@ -0,0 +1,17 @@
+#compdef xscreensaver-command
+
+_arguments \
+  '-demo[Ask the xscreensaver process to enter interactive demo mode]' \
+  '-prefs[Ask the xscreensaver process to bring up the preferences panel]' \
+  '-activate[Turn on the screensaver]' \
+  '-deactivate[Turns off the screensaver]' \
+  '-cycle[stop the current graphics demo and run a new one]' \
+  '-next' \
+  '-prev' \
+  '-select[but runs the Nth element in the list of hacks]:element number:' \
+  '-exit[causes the xscreensaver process to exit gracefully]' \
+  '-restart[restart the screensaver process]' \
+  '-lock[lock the screen immediately]' \
+  '-version[prints the version of xscreensaver that is currently running]' \
+  '-time[prints the time at which the screensaver last activated or deactivated]' \
+  '-watch[prints a line each time the screensaver changes state]'