From c5fce37bced3c516bfb47cb84f336598fc26b277 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 10 Feb 2012 17:09:05 +0000 Subject: 30199: add (-.) to many completion _files globs --- Completion/Unix/Command/_bittorrent | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Completion/Unix/Command/_bittorrent') diff --git a/Completion/Unix/Command/_bittorrent b/Completion/Unix/Command/_bittorrent index 8c31a11ae..f7da2047a 100644 --- a/Completion/Unix/Command/_bittorrent +++ b/Completion/Unix/Command/_bittorrent @@ -50,18 +50,18 @@ case $service in "--max_initiate+[specify peers needed before stopping initiating new connections]:peers:"\ "--report_hash_failures+[report hash failures to user]:enable:(0 1)"\ "--rarest_first_priority_cutoff+[specify peers which need to have a piece before other partials take priority over rarest first]:peers:"\ - ':torrent file:_files -g "*.torrent"' \ + ':torrent file:_files -g "*.torrent(-.)"' \ && return 0 ;; # Next up are the torrent file manipulation programs. btshowmetainfo) - _files -g "*.torrent" && return 0 + _files -g "*.torrent(-.)" && return 0 ;; btrename) - _files -g '*.torrent' && return 0 + _files -g '*.torrent(-.)' && return 0 ;; btmakemetafile) @@ -74,7 +74,7 @@ case $service in ;; btreannounce) - _files -g '*.torrent' && return 0 + _files -g '*.torrent(-.)' && return 0 ;; # Lastly the tracker. -- cgit 1.4.1