summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_bittorrent
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2012-02-10 17:09:05 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2012-02-10 17:09:05 +0000
commitc5fce37bced3c516bfb47cb84f336598fc26b277 (patch)
tree8636c3ef1f60f92348177a2916781e36fc8b3656 /Completion/Unix/Command/_bittorrent
parent32eb4faf7c4295d029533ff85473894887f2bc36 (diff)
downloadzsh-c5fce37bced3c516bfb47cb84f336598fc26b277.tar.gz
zsh-c5fce37bced3c516bfb47cb84f336598fc26b277.zip
30199: add (-.) to many completion _files globs
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.