summaryrefslogtreecommitdiff
path: root/src/systemd-cgls/systemd-cgls.completion.zsh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 17:26:37 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 17:26:37 -0400
commitbcbdba00c1641217b488dcdb13abd22ace4733ad (patch)
tree3730b7009ba8423b636f27c39af2e9f1781e7099 /src/systemd-cgls/systemd-cgls.completion.zsh
parent660cbff7f8a7c27e2d3f7e0ea175ffb7e7a2b749 (diff)
./tools/move.sh
Diffstat (limited to 'src/systemd-cgls/systemd-cgls.completion.zsh')
-rw-r--r--src/systemd-cgls/systemd-cgls.completion.zsh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/systemd-cgls/systemd-cgls.completion.zsh b/src/systemd-cgls/systemd-cgls.completion.zsh
new file mode 100644
index 0000000000..c8f93fa732
--- /dev/null
+++ b/src/systemd-cgls/systemd-cgls.completion.zsh
@@ -0,0 +1,12 @@
+#compdef systemd-cgls
+
+local curcontext="$curcontext" state lstate line
+_arguments \
+ {-h,--help}'[Show this help]' \
+ '--version[Show package version]' \
+ '--no-pager[Do not pipe output into a pager]' \
+ {-a,--all}'[Show all groups, including empty]' \
+ '-k[Include kernel threads in output]' \
+ ':cgroups:(cpuset cpu cpuacct memory devices freezer blkio)'
+
+#vim: set ft=zsh sw=4 ts=4 et