diff options
author | David Paleino <dapal@debian.org> | 2012-01-08 00:19:18 +0100 |
---|---|---|
committer | David Paleino <dapal@debian.org> | 2012-01-08 00:19:18 +0100 |
commit | c3d398fcc6e400be546c28eb1fc25abfa5816eac (patch) | |
tree | 3266a00f1037eb5522f1f8bf1a73e443ab2c26c4 /completions/rpm2tgz | |
parent | 2c8171c38d87ddef31c92a76547d3fdf773a1337 (diff) | |
download | bash-completion-c3d398fcc6e400be546c28eb1fc25abfa5816eac.tar.gz |
Imported Upstream version 1.99upstream/1.99
Diffstat (limited to 'completions/rpm2tgz')
-rw-r--r-- | completions/rpm2tgz | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/rpm2tgz b/completions/rpm2tgz index 0b4510c7..34e54a5a 100644 --- a/completions/rpm2tgz +++ b/completions/rpm2tgz @@ -7,10 +7,10 @@ _rpm2tgz() if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '-s -S -n -r -d -c' -- "$cur" ) ) - return 0 + return fi - COMPREPLY=( $(compgen -f -X "!*.rpm" -- "$cur") ) -} && complete -F _rpm2tgz -o plusdirs rpm2tgz rpm2txz rpm2targz + _filedir "rpm" +} && complete -F _rpm2tgz rpm2tgz rpm2txz rpm2targz # ex: ts=4 sw=4 et filetype=sh |