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:
parent
90e1f5d541
commit
8becb89357
@ -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
|
||||
|
10
Completion/Linux/Command/_choom
Normal file
10
Completion/Linux/Command/_choom
Normal 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]'
|
Loading…
Reference in New Issue
Block a user