summaryrefslogtreecommitdiff
path: root/shell-completion/zsh/_systemd-tmpfiles
diff options
context:
space:
mode:
authorWilliam Giokas <1007380@gmail.com>2013-07-30 19:05:31 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-08-02 10:44:14 -0400
commit1272ff850ac65557f3cc06e00d5ddbd2588ff8b0 (patch)
tree9c55d1de2b6f8ca805eb21020c991ae6673d8b44 /shell-completion/zsh/_systemd-tmpfiles
parent4a8fa990693edc47ac2192bf088a6e22e2390b41 (diff)
zsh_completion: Split out zsh _systemd-tmpfiles
You can choose to have systemd-tmpfiles at configuration time, so only install the completion for this if configured to do so.
Diffstat (limited to 'shell-completion/zsh/_systemd-tmpfiles')
-rw-r--r--shell-completion/zsh/_systemd-tmpfiles10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell-completion/zsh/_systemd-tmpfiles b/shell-completion/zsh/_systemd-tmpfiles
new file mode 100644
index 0000000000..4913dedd2c
--- /dev/null
+++ b/shell-completion/zsh/_systemd-tmpfiles
@@ -0,0 +1,10 @@
+#compdef systemd-tmpfiles
+
+_arguments \
+ '--create[Create, set ownership/permissions based on the config files.]' \
+ '--clean[Clean up all files and directories with an age parameter configured.]' \
+ '--remove[All files and directories marked with r, R in the configuration files are removed.]' \
+ '--prefix=[Only apply rules that apply to paths with the specified prefix.]' \
+ '--exclude-prefix=[Ignore rules that apply to paths with the specified prefix.]' \
+ '--help[Prints a short help text and exits.]' \
+ '*::files:_files'