summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_bittorrent
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2012-02-21 21:52:09 +0100
committerAxel Beckert <abe@deuxchevaux.org>2012-02-21 21:52:55 +0100
commitb561eedd8b1d70a2b3339d167348771f1a8fc5c7 (patch)
treea7d7d32a90f391767a921a5fcdb59551cdffa04e /Completion/Unix/Command/_bittorrent
parent340a3b41e51e3f39249a9e28f0615b063f073a3c (diff)
parent5f25bb8223d090d13af5869893fa35e5b8c44182 (diff)
downloadzsh-b561eedd8b1d70a2b3339d167348771f1a8fc5c7.tar.gz
zsh-b561eedd8b1d70a2b3339d167348771f1a8fc5c7.zip
New upstream release
Merge branch 'upstream' into debian
Diffstat (limited to 'Completion/Unix/Command/_bittorrent')
-rw-r--r--Completion/Unix/Command/_bittorrent8
1 files changed, 4 insertions, 4 deletions
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.