Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] _btrfs: complete directories for snapshot name/dest



---
 Completion/Linux/Command/_btrfs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Completion/Linux/Command/_btrfs b/Completion/Linux/Command/_btrfs
index c8f87ef..77deeef 100644
--- a/Completion/Linux/Command/_btrfs
+++ b/Completion/Linux/Command/_btrfs
@@ -125,7 +125,8 @@ while (( $#state )); do
           args+=( 
             '-r[readonly snapshot]'
             '*-i[assign to qgroup]:qgroup: _message "qgroup"'
-            '1:snapshot:_files -/' 
+            '1:source directory:_files -/'
+            '2:snapshot name or destination:_files -/'
           )
           ;;
         subvolume:list) 
-- 
2.1.0



Messages sorted by: Reverse Date, Date, Thread, Author