diff options
author | Oliver Kiddle <opk@zsh.org> | 2017-03-14 16:13:05 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2017-03-14 16:13:05 +0100 |
commit | 45d910356ad6b75d47e56ed5cef2f43bffc12fca (patch) | |
tree | d9ad7ef4e55a28c4bb0024cb0100f567944b52f4 /Completion/Unix/Command/_df | |
parent | e869952200852a414debc6475a652e04e3b03641 (diff) | |
download | zsh-45d910356ad6b75d47e56ed5cef2f43bffc12fca.tar.gz zsh-45d910356ad6b75d47e56ed5cef2f43bffc12fca.tar.xz zsh-45d910356ad6b75d47e56ed5cef2f43bffc12fca.zip |
40842: update completions for coreutils and similar utilities, also improving BSD and Solaris support
Diffstat (limited to 'Completion/Unix/Command/_df')
-rw-r--r-- | Completion/Unix/Command/_df | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Completion/Unix/Command/_df b/Completion/Unix/Command/_df index a98180a2c..677b8c727 100644 --- a/Completion/Unix/Command/_df +++ b/Completion/Unix/Command/_df @@ -5,12 +5,6 @@ local -A opt_args if _pick_variant gnu=GNU unix --version; then args=( - '(-B --block-size -k)'{-B+,--block-size=}'[specify block size]:size (bytes)' - '(-B --block-size -k)-k[like --block-size=1K]' - '(-P --portability)'{-P,--portability}'[use the POSIX output format]' - '(-h --human-readable -H --si)'{-h,--human-readable}'[print sizes in human readable format]' - '(-h --human-readable -H --si)'{-H,--si}'[human readable fomat, but use powers of 1000 not 1024]' - '(-i --inodes)'{-i,--inodes}'[list inode information instead of block usage]' '--total[produce a grand total]' '(-T --print-type)'{-T,--print-type}'[print file system type]' '(-a --all)'{-a,--all}'[include dummy file systems]' @@ -23,6 +17,13 @@ if _pick_variant gnu=GNU unix --version; then '(- : *)--help[display help and exit]' '(- : *)--version[output version information and exit]' '*:files:_files' + - '(format)' + {-B+,--block-size=}'[specify block size]:size (bytes)' + '-k[like --block-size=1K]' + {-P,--portability}'[use the POSIX output format]' + {-h,--human-readable}'[print sizes in human readable format]' + {-H,--si}'[human readable format, but use powers of 1000 not 1024]' + {-i,--inodes}'[list inode information instead of block usage]' ) elif [[ "$OSTYPE" == (darwin|freebsd|dragonfly)* ]]; then args=( |