diff options
author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2019-03-22 09:23:42 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2019-03-22 09:23:42 +0900 |
commit | 3e542bcd818c57785aa4cc7c5e6be3b92118fb7d (patch) | |
tree | 176dbca48926f59e14db25179f437cca83a87de9 /Completion/Linux/Command/_pmap | |
parent | 3e67e8347c77c6f455216fc114c6a26f6859bc68 (diff) | |
download | zsh-3e542bcd818c57785aa4cc7c5e6be3b92118fb7d.tar.gz zsh-3e542bcd818c57785aa4cc7c5e6be3b92118fb7d.tar.xz zsh-3e542bcd818c57785aa4cc7c5e6be3b92118fb7d.zip |
44147: add/update completions for procps-ng
New completions for free, pmap, slabtop, tload. Update _top.
Diffstat (limited to 'Completion/Linux/Command/_pmap')
-rw-r--r-- | Completion/Linux/Command/_pmap | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Completion/Linux/Command/_pmap b/Completion/Linux/Command/_pmap new file mode 100644 index 000000000..ba3321531 --- /dev/null +++ b/Completion/Linux/Command/_pmap @@ -0,0 +1,20 @@ +#compdef pmap +# based on procps-ng-3.3.15 + +_arguments -s \ + '(exit -A --range)'{-A+,--range}'[limit results to the specified address range]:low,high: ' \ + '(exit -q --quiet)'{-q,--quiet}'[do not display some header or footer lines]' \ + '(exit -p --show-path)'{-p,--show-path}'[show full path to files in the mapping column]' \ + '(exit)*: :_pids' \ + + '(format)' \ + '(exit)'{-d,--device}'[show the device format]' \ + '(exit)'{-x,--extended}'[show the extended format]' \ + '(exit)-X[show even more details than -x option]' \ + '(exit)-XX[show everything the kernel provides]' \ + '(exit)'{-c,--read-rc}'[read the default configuration]' \ + '(exit)'{-C+,--read-rc-from=}'[read the configuration from the specified file]: :_files' \ + + '(exit)' \ + '(- *)'{-n,--create-rc}'[create new default configuration and exit]' \ + '(- *)'{-N+,--create-rc-to=}'[create new configuration to the specified file and exit]: :_files' \ + '(- *)'{-h,--help}'[display help text and exit]' \ + '(- *)'{-V,--version}'[display version information and exit]' |