summaryrefslogtreecommitdiffstats
path: root/Completion/Linux
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-17 17:01:52 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-17 17:01:52 +0000
commit9ffe596f251b6b35d59da3b9e204b315d34fdfbf (patch)
tree8616c1e9fbde10800596127850ab2a5068bdc77a /Completion/Linux
parentzsh-3.1.6-bart-7 (diff)
downloadzsh-9ffe596f251b6b35d59da3b9e204b315d34fdfbf.tar
zsh-9ffe596f251b6b35d59da3b9e204b315d34fdfbf.tar.gz
zsh-9ffe596f251b6b35d59da3b9e204b315d34fdfbf.tar.bz2
zsh-9ffe596f251b6b35d59da3b9e204b315d34fdfbf.tar.lz
zsh-9ffe596f251b6b35d59da3b9e204b315d34fdfbf.tar.xz
zsh-9ffe596f251b6b35d59da3b9e204b315d34fdfbf.tar.zst
zsh-9ffe596f251b6b35d59da3b9e204b315d34fdfbf.zip
zsh-3.1.6-bart-7-2zsh-3.1.6-bart-7-2
Diffstat (limited to 'Completion/Linux')
-rw-r--r--Completion/Linux/_rpm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Linux/_rpm b/Completion/Linux/_rpm
index f54f77522..5b59f1d2b 100644
--- a/Completion/Linux/_rpm
+++ b/Completion/Linux/_rpm
@@ -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