* [PATCH] Add completion for choom
@ 2020-08-12 10:16 Jörg Sommer
0 siblings, 0 replies; only message in thread
From: Jörg Sommer @ 2020-08-12 10:16 UTC (permalink / raw)
To: zsh-workers; +Cc: Jörg Sommer
The Linux tool is used to adjust the OOM score of a process.
---
Completion/Linux/Command/_choom | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 Completion/Linux/Command/_choom
diff --git a/Completion/Linux/Command/_choom b/Completion/Linux/Command/_choom
new file mode 100644
index 000000000..2a6dd03c7
--- /dev/null
+++ b/Completion/Linux/Command/_choom
@@ -0,0 +1,10 @@
+#compdef choom
+
+_arguments -S \
+ '(H -n --adjust)'{-n,--adjust}'+[specify the adjust score value (-1000...1000)]:score (-1000...1000)' \
+ '(H -p --pid)'{-p,--pid}'[interpret args as process ID]:process ID:_pids' \
+ '(H -p --pid):command:_command_names' \
+ '*::arguments:_normal' \
+ + 'H' \
+ '(- *)'{-V,--version}'[display version information]' \
+ '(- *)'{-h,--help}'[display help information]'
--
2.28.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-12 10:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 10:16 [PATCH] Add completion for choom Jörg Sommer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).