Message ID | 20230420092842.786-1-ddiss@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [btrfs-progs] btrfs-completion: include files in "du" completion | expand |
On Thu, Apr 20, 2023 at 11:28:42AM +0200, David Disseldorp wrote: > Currently "btrfs filesystem du" auto-completes for directories only, > but it can also be used against files to determine shared vs exclusive > extents. > > Signed-off-by: David Disseldorp <ddiss@suse.de> Added to devel, thanks.
diff --git a/btrfs-completion b/btrfs-completion index af9530a5..44c7f7f3 100644 --- a/btrfs-completion +++ b/btrfs-completion @@ -103,7 +103,7 @@ _btrfs() case $cmd in filesystem) case $prev in - defragment) + du|defragment) _filedir return 0 ;;
Currently "btrfs filesystem du" auto-completes for directories only, but it can also be used against files to determine shared vs exclusive extents. Signed-off-by: David Disseldorp <ddiss@suse.de> --- btrfs-completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)