1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-29 17:31:02 +01:00

zsh-3.1.6-bart-7-2

This commit is contained in:
Tanaka Akira 1999-10-17 17:01:52 +00:00
parent 6014bbdb45
commit 9ffe596f25
5 changed files with 10 additions and 19 deletions

View file

@ -148,7 +148,7 @@ while [[ -n "$state" ]]; do
'*:RPM package:->package' && ret=0
;;
build_b)
tmp=( '*:spec file:_path_files -/ -g \*.spec' )
tmp=( '*:spec file:_files -g \*.spec' )
;&
build_t)
(( $#tmp )) || tmp=( '*:tar file:_files -g \*.\(\#i\)tar\(.\*\|\)' )
@ -195,7 +195,7 @@ while [[ -n "$state" ]]; do
_hosts -S/ && ret=0
else
_description expl 'RPM package file'
_path_files "$expl[@]" -/ -g '*.(#i)rpm' && ret=0
_files "$expl[@]" -g '*.(#i)rpm' && ret=0
_description expl 'ftp URL prefix'
compadd "$expl[@]" ftp://
fi