aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-10 01:48:51 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-10 01:48:51 +0100
commitc3943bcc6e0b7ca4b65f9fc94a25ea7cd73527b7 (patch)
tree5e168d1985852a1d731c5de532b0e0bdd81b2aea /src
parentupdate doc (diff)
downloadsleep-until-c3943bcc6e0b7ca4b65f9fc94a25ea7cd73527b7.tar.gz
sleep-until-c3943bcc6e0b7ca4b65f9fc94a25ea7cd73527b7.tar.bz2
sleep-until-c3943bcc6e0b7ca4b65f9fc94a25ea7cd73527b7.tar.xz
add autocompletion
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/completion11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/completion b/src/completion
new file mode 100644
index 0000000..7876f18
--- /dev/null
+++ b/src/completion
@@ -0,0 +1,11 @@
+(sleep-until
+ (default (arg CLOCK_OR_TIME) (files -0) (suggest clock)
+ (desc 'Select clock or exit time'))
+
+ (suggestion clock (verbatim CLOCK_REALTIME
+ CLOCK_MONOTONIC
+ CLOCK_BOOTTIME
+ CLOCK_REALTIME_ALARM
+ CLOCK_BOOTTIME_ALARM))
+)
+