1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-27 22:40:20 +02:00

47320: Add completion for Linux tool used to adjust process OOM score

This commit is contained in:
Jörg Sommer 2020-08-12 12:16:03 +02:00 committed by Oliver Kiddle
parent 90e1f5d541
commit 8becb89357
2 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2020-08-13 Oliver Kiddle <opk@zsh.org>
* Jörg Sommer: 47320: Completion/Linux/Command/_choom: Add
completion for Linux tool used to adjust process OOM score
* 47321: Completion/Linux/Command/_btrfs: update for btrfs 5.4
* 47319: Completion/Unix/Command/_imagemagick: complete more

View File

@ -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]'