diff options
-rw-r--r-- | Completion/Rpm/.distfiles | 7 | ||||
-rw-r--r-- | Completion/Rpm/_rpm | 15 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_arguments | 8 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_build | 16 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_capability | 3 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_install | 10 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_package | 6 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_pkg_file | 7 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_pkg_or_file | 8 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_query | 12 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_rebuild | 6 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_rebuilddb | 3 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_relocate | 11 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_resign | 4 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_sigcheck | 5 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_tags | 11 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_uninstall | 7 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_upgrade | 3 | ||||
-rw-r--r-- | Completion/Rpm/_rpm_verify | 7 |
19 files changed, 0 insertions, 149 deletions
diff --git a/Completion/Rpm/.distfiles b/Completion/Rpm/.distfiles deleted file mode 100644 index 61e104615..000000000 --- a/Completion/Rpm/.distfiles +++ /dev/null @@ -1,7 +0,0 @@ -DISTFILES_SRC=' - .distfiles - _rpm _rpm_arguments _rpm_build _rpm_capability _rpm_install - _rpm_package _rpm_pkg_file _rpm_pkg_or_file _rpm_query _rpm_rebuild - _rpm_rebuilddb _rpm_relocate _rpm_resign _rpm_sigcheck _rpm_tags - _rpm_uninstall _rpm_upgrade _rpm_verify -' diff --git a/Completion/Rpm/_rpm b/Completion/Rpm/_rpm deleted file mode 100644 index 4a64bbfbb..000000000 --- a/Completion/Rpm/_rpm +++ /dev/null @@ -1,15 +0,0 @@ -#compdef rpm - -_rpm_arguments \ - '-q:*:query: _rpm_query' \ - -{V,y,-{setperms,setugids,querytags,initdb,showrc}} \ - '-pipe:*:pipe command:_command_names -e' \ - '--verify:*:verify: _rpm_verify' \ - -{i,-install}':*:install: _rpm_install' \ - -{U,-upgrade}':*:upgrade: _rpm_upgrade' \ - -{e,-erase}':*:uninstall: _rpm_uninstall' \ - -'b+:build stage:((p\:execute\ \%prep\ stage l\:do\ a\ list\ check c\:execute\ build\ stage i\:execute\ install\ stage b\:build\ a\ binary\ package a\:build\ binary\ and\ source\ packages)):*:build: _rpm_build -b' \ - -'t+:build stage:((p\:execute\ \%prep\ stage l\:do\ a\ list\ check c\:execute\ build\ stage i\:execute\ install\ stage b\:build\ a\ binary\ package a\:build\ binary\ and\ source\ packages)):*:build: _rpm_build -t' \ - --{rebuild,rmsource,recompile,resign,addsign}':*:RPM package: _rpm_package' \ - -{K,-checksig}':*:sigcheck: _rpm_sigcheck' \ - '--rebuilddb:*:rebuild: _rpm_rebuild' diff --git a/Completion/Rpm/_rpm_arguments b/Completion/Rpm/_rpm_arguments deleted file mode 100644 index caac00b25..000000000 --- a/Completion/Rpm/_rpm_arguments +++ /dev/null @@ -1,8 +0,0 @@ -#autoload - -_arguments \ - -{v,vv} \ - '-rcfile:resource file:_files' \ - '--ftpproxy:FTP proxy server:_hosts' \ - '--ftpport:FTP port number:' \ - "$@" diff --git a/Completion/Rpm/_rpm_build b/Completion/Rpm/_rpm_build deleted file mode 100644 index 1702e5d8e..000000000 --- a/Completion/Rpm/_rpm_build +++ /dev/null @@ -1,16 +0,0 @@ -#autoload - -local args - -if [[ "$1" = -b ]]; then - args='*:RPM package:_rpm_package' -else - args='*:tar file:_files -g \*.\(\#i\)tar\(.\*\|\)' -fi - -_rpm_arguments \ - --{short-circuit,clean,rmsource,sign,test} \ - '--buildroot:build root directory:_files -/' \ - '--buildarch:architecture for which to build:' \ - '--buildos:ositecture for which to build:' \ - '--timecheck:time check (seconds):' "$args" diff --git a/Completion/Rpm/_rpm_capability b/Completion/Rpm/_rpm_capability deleted file mode 100644 index 5bd8a1afe..000000000 --- a/Completion/Rpm/_rpm_capability +++ /dev/null @@ -1,3 +0,0 @@ -#autoload - -_message 'RPM capability' diff --git a/Completion/Rpm/_rpm_install b/Completion/Rpm/_rpm_install deleted file mode 100644 index 173a5a620..000000000 --- a/Completion/Rpm/_rpm_install +++ /dev/null @@ -1,10 +0,0 @@ -#autoload - -_rpm_arguments \ - "$@" \ - -{-{badreloc,excludedocs,force,hash,allfiles,ignorearch,ignoreos,includedocs,justdb,nodeps,noorder,noscripts,notriggers,percent,replacefiles,replacepkgs,test},h} \ - '--relocate:relocate:_rpm_relocate' \ - '--prefix:package prefix directory:_files -/' \ - '--root:RPM root directory:_files -/' \ - '--dbpath:RPM database path:_files -/' \ - '*:pkg file:_rpm_pkg_file' diff --git a/Completion/Rpm/_rpm_package b/Completion/Rpm/_rpm_package deleted file mode 100644 index 0cac1c917..000000000 --- a/Completion/Rpm/_rpm_package +++ /dev/null @@ -1,6 +0,0 @@ -#autoload - -local expl - -_description expl 'RPM package' -compadd "$expl[@]" -M 'r:|-=* r:|=*' - $(rpm -qa) diff --git a/Completion/Rpm/_rpm_pkg_file b/Completion/Rpm/_rpm_pkg_file deleted file mode 100644 index 2a211a28a..000000000 --- a/Completion/Rpm/_rpm_pkg_file +++ /dev/null @@ -1,7 +0,0 @@ -#autoload - -if compset -P ftp:; then - _hosts -S/ -else - _files -g '*.(#i)rpm' -fi diff --git a/Completion/Rpm/_rpm_pkg_or_file b/Completion/Rpm/_rpm_pkg_or_file deleted file mode 100644 index 5af265df6..000000000 --- a/Completion/Rpm/_rpm_pkg_or_file +++ /dev/null @@ -1,8 +0,0 @@ -#autoload - -local ret=1 - -_rpm_package && ret=0 -_rpm_pkg_file && ret=0 - -return ret diff --git a/Completion/Rpm/_rpm_query b/Completion/Rpm/_rpm_query deleted file mode 100644 index 8721f5498..000000000 --- a/Completion/Rpm/_rpm_query +++ /dev/null @@ -1,12 +0,0 @@ -#autoload - -_rpm_arguments \ - '--root:RPM root directory:_files -/' \ - '--dbpath:RPM database path:_files -/' \ - '--queryformat:RPM query format:_rpm_tags' \ - '-f:file:_files' \ - '-p:RPM package file:_rpm_pkg_file' \ - '--triggeredby:RPM package:_rpm_package' \ - '--whatprovides:RPM capability:_rpm_capability' \ - '--whatrequires:RPM capability:_rpm_capability' \ - '*:RPM package:_rpm_pkg_or_file' diff --git a/Completion/Rpm/_rpm_rebuild b/Completion/Rpm/_rpm_rebuild deleted file mode 100644 index e924a3b9f..000000000 --- a/Completion/Rpm/_rpm_rebuild +++ /dev/null @@ -1,6 +0,0 @@ -#autoload - -_rpm_arguments \ - '--root:RPM root directory:_files -/' \ - '--dbpath:RPM database path:_files -/' \ - '*:RPM source package file:_rpm_pkg_file' diff --git a/Completion/Rpm/_rpm_rebuilddb b/Completion/Rpm/_rpm_rebuilddb deleted file mode 100644 index 0ab92aa6f..000000000 --- a/Completion/Rpm/_rpm_rebuilddb +++ /dev/null @@ -1,3 +0,0 @@ -#autoload - -_rpm_arguments diff --git a/Completion/Rpm/_rpm_relocate b/Completion/Rpm/_rpm_relocate deleted file mode 100644 index fd27bdd99..000000000 --- a/Completion/Rpm/_rpm_relocate +++ /dev/null @@ -1,11 +0,0 @@ -#autoload - -local expl - -if compset -P '*\='; then - _description expl 'new path' -else - _description expl 'old path' -fi - -_files "$expl[@]" -/ diff --git a/Completion/Rpm/_rpm_resign b/Completion/Rpm/_rpm_resign deleted file mode 100644 index ef9dd932e..000000000 --- a/Completion/Rpm/_rpm_resign +++ /dev/null @@ -1,4 +0,0 @@ -#autoload - -_rpm_arguments \ - '*:RPM binary package file:_rpm_pkg_file' diff --git a/Completion/Rpm/_rpm_sigcheck b/Completion/Rpm/_rpm_sigcheck deleted file mode 100644 index a808197a8..000000000 --- a/Completion/Rpm/_rpm_sigcheck +++ /dev/null @@ -1,5 +0,0 @@ -#autoload - -_rpm_arguments \ - --no{pgp,md5} \ - '*:RPM package file:_rpm_pkg_or_file' diff --git a/Completion/Rpm/_rpm_tags b/Completion/Rpm/_rpm_tags deleted file mode 100644 index 2e65b39f3..000000000 --- a/Completion/Rpm/_rpm_tags +++ /dev/null @@ -1,11 +0,0 @@ -#autoload - -if compset -P '*\{'; then - local expl - - _description expl 'RPM tag' - compadd "$expl[@]" -M 'm:{a-z}={A-Z}' -S '}' - \ - "${(@)${(@f)$(rpm --querytags)}#RPMTAG_}" -else - _message 'RPM format' -fi diff --git a/Completion/Rpm/_rpm_uninstall b/Completion/Rpm/_rpm_uninstall deleted file mode 100644 index c33852d50..000000000 --- a/Completion/Rpm/_rpm_uninstall +++ /dev/null @@ -1,7 +0,0 @@ -#autoload - -_rpm_arguments \ - --{allmatches,justdb,nodeps,noorder,noscripts,notriggers} \ - '--root:RPM root directory:_files -/' \ - '--dbpath:RPM database path:_files -/' \ - '*:RPM package:_rpm_package' diff --git a/Completion/Rpm/_rpm_upgrade b/Completion/Rpm/_rpm_upgrade deleted file mode 100644 index 3417b2b11..000000000 --- a/Completion/Rpm/_rpm_upgrade +++ /dev/null @@ -1,3 +0,0 @@ -#autoload - -_rpm_install --oldpackage diff --git a/Completion/Rpm/_rpm_verify b/Completion/Rpm/_rpm_verify deleted file mode 100644 index 049933f6f..000000000 --- a/Completion/Rpm/_rpm_verify +++ /dev/null @@ -1,7 +0,0 @@ -#autoload - -_rpm_arguments \ - --no{deps,md5,files} \ - '--root:RPM root directory:_files -/' \ - '--dbpath:RPM database path:_files -/' \ - '*:RPM package:_rpm_package' |