about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/X/Command/_xautolock25
2 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b3b1b23c..23bf69372 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-10  Oliver Kiddle  <opk@zsh.org>
+
+	* Yuri D'Elia: 33397: Completion/X/Command/_xautolock: new completion
+
 2014-10-09  Frank Terbeck  <ft@bewatermyfriend.org>
 
 	* 33405: Functions/VCS_Info/vcs_info: Make sure maxexports
diff --git a/Completion/X/Command/_xautolock b/Completion/X/Command/_xautolock
new file mode 100644
index 000000000..4d01a1dd2
--- /dev/null
+++ b/Completion/X/Command/_xautolock
@@ -0,0 +1,25 @@
+#compdef xautolock
+_arguments \
+  '(-enable -toggle)-disable' \
+  '(-disable -toggle)-enable' \
+  '(-locknow)-unlocknow' \
+  '(-unlocknow)-locknow' \
+  '(-restart)-exit' \
+  '(-exit)-restart' \
+  '-killer:program: _command_names -e' \
+  '-locker:program: _command_names -e' \
+  '-notifier:program: _command_names -e' \
+  '-nowlocker:program: _command_names -e' \
+  -bell:percent: \
+  -cornerdelay:seconds: \
+  -cornerredelay:seconds: \
+  -corners:corners: \
+  -cornersize:pixels: \
+  -killtime:minutes: \
+  -noclose{,out,err} \
+  -notify:seconds: \
+  -time:minutes: \
+  -secure \
+  -resetsaver \
+  -detectsleep \
+  -{help,version}