mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-28 15:01:21 +02:00
22814: add .mp4 and .flv to media file extension list.
This commit is contained in:
parent
55739ab8ae
commit
9619db1d94
@ -1,5 +1,8 @@
|
||||
2006-10-03 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 22814: Completion/X/Command/_mplayer: add .mp4 and .flv
|
||||
to media file extension list.
|
||||
|
||||
* 22812: R. Ramkumar: Completion/Unix/Command/_bittorrent,
|
||||
Completion/Unix/Command/_rsync, Completion/Unix/Command/_ssh,
|
||||
Completion/Unix/Command/_wget: utilize _bind_addresses in
|
||||
|
@ -115,7 +115,7 @@ case "$state" in
|
||||
_tags files urls
|
||||
while _tags; do
|
||||
_requested files expl 'video file' _files -g \
|
||||
"*.(#i)(avi|mp3|mpg|mpe|mpeg|m1v|m2p|m2v|mov|asf|vob|mjpg|wma|wmv|asx|qt|rm|mkv|mka|ogm|ogg|wav)(-.)" && ret=0
|
||||
"*.(#i)(asf|asx|avi|flv|m1v|m2p|m2v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|wma|wmv)(-.)" && ret=0
|
||||
if _requested urls; then
|
||||
while _next_label urls expl URL; do
|
||||
_urls "$expl[@]" && ret=0
|
||||
|
Loading…
Reference in New Issue
Block a user