From 5654b905f96720bef285dc92d6b2e2cc31bd971e Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 2 Aug 2017 15:10:02 +0000 Subject: 41481: _df: Complete mounted device and mount points. This splits umount's "udevordir" completion from _mount to a new file, without changing it. --- Completion/Unix/Command/_df | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/Unix/Command/_df') diff --git a/Completion/Unix/Command/_df b/Completion/Unix/Command/_df index 677b8c727..d20ddea7e 100644 --- a/Completion/Unix/Command/_df +++ b/Completion/Unix/Command/_df @@ -16,7 +16,7 @@ if _pick_variant gnu=GNU unix --version; then '-v[(ignored)]' '(- : *)--help[display help and exit]' '(- : *)--version[output version information and exit]' - '*:files:_files' + '*:files:_umountable' - '(format)' {-B+,--block-size=}'[specify block size]:size (bytes)' '-k[like --block-size=1K]' @@ -39,7 +39,7 @@ elif [[ "$OSTYPE" == (darwin|freebsd|dragonfly)* ]]; then '-i[include inode usage statistics (default)]' '-l[only display locally-mounted file systems]' '-n[use previously obtained statistics]' - '*:files:_files' + '*:files:_umountable' ) spec='[only display file systems of specified types]:file system type:->fslist' case "$OSTYPE" in @@ -59,7 +59,7 @@ else '-k[use 1024-byte blocks]' '-P[POSIX compliant output]' '-t[include total allocated-space figures in the output]' - '*:files:_files' + '*:files:_umountable' ) fi -- cgit 1.4.1