summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_df
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2018-04-07 15:12:57 +0200
committerAxel Beckert <abe@deuxchevaux.org>2018-04-07 15:12:57 +0200
commit6e1ab9aa550695ee7e3d467b4173c0b83ba7f759 (patch)
tree8fb7faa4364a7cbf1cba48296a5f537e13f2a8d9 /Completion/Unix/Command/_df
parent5ad56a41f1ee2e61abca079f5ea8909f895ac2dd (diff)
parentf027f1d6e876708bc75d4217e1ca26898658d8d3 (diff)
downloadzsh-6e1ab9aa550695ee7e3d467b4173c0b83ba7f759.tar.gz
zsh-6e1ab9aa550695ee7e3d467b4173c0b83ba7f759.zip
Merge tag 'zsh-5.4.2-test-2' / 'upstream' branch into 'debian' branch
Test version 2 prior to zsh 5.5.
Diffstat (limited to 'Completion/Unix/Command/_df')
-rw-r--r--Completion/Unix/Command/_df7
1 files changed, 5 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_df b/Completion/Unix/Command/_df
index d20ddea7e..2586f4358 100644
--- a/Completion/Unix/Command/_df
+++ b/Completion/Unix/Command/_df
@@ -1,4 +1,4 @@
-#compdef df
+#compdef df gdf
local curcontext="$curcontext" state state_descr line args spec ret=1
local -A opt_args
@@ -8,12 +8,15 @@ if _pick_variant gnu=GNU unix --version; then
'--total[produce a grand total]'
'(-T --print-type)'{-T,--print-type}'[print file system type]'
'(-a --all)'{-a,--all}'[include dummy file systems]'
+ '--direct[show statistics for a file instead of mount point]'
'(-l --local)'{-l,--local}'[limit listing to local file systems]'
'*'{-t+,--type=}'[limit listing to file systems of specified type]:file system type:_file_systems'
'*'{-x+,--exclude-type=}'[exclude file systems of specified type]:file system type:_file_systems'
'(--no-sync)--sync[invoke sync before getting usage info]'
'(--sync)--no-sync[do not invoke sync before getting usage info (default)]'
- '-v[(ignored)]'
+ '--output=-[output all or specified fields]::field:_values -s , "field"
+ source fstype itotal iused iavail ipcent size used avail pcent file target'
+ '!-v'
'(- : *)--help[display help and exit]'
'(- : *)--version[output version information and exit]'
'*:files:_umountable'