diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2003-07-04 13:53:44 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-07-04 13:53:44 +0000 |
| commit | 34eed61ac859067a628fecfd0fc3efee3bf2e91e (patch) | |
| tree | 11a77c118997bc4aedb552e76c68c5c6fca10957 /Completion/Linux/Command | |
| parent | users/6367: match-words-by-style wrongly referred to in doc (diff) | |
| download | zsh-34eed61ac859067a628fecfd0fc3efee3bf2e91e.tar zsh-34eed61ac859067a628fecfd0fc3efee3bf2e91e.tar.gz zsh-34eed61ac859067a628fecfd0fc3efee3bf2e91e.tar.bz2 zsh-34eed61ac859067a628fecfd0fc3efee3bf2e91e.tar.lz zsh-34eed61ac859067a628fecfd0fc3efee3bf2e91e.tar.xz zsh-34eed61ac859067a628fecfd0fc3efee3bf2e91e.tar.zst zsh-34eed61ac859067a628fecfd0fc3efee3bf2e91e.zip | |
18807: baptiste daroussin <daroussi@ece.fr>:
Completion for Slackware package management tool
Diffstat (limited to 'Completion/Linux/Command')
| -rw-r--r-- | Completion/Linux/Command/.distfiles | 2 | ||||
| -rw-r--r-- | Completion/Linux/Command/_pkgtool | 84 |
2 files changed, 85 insertions, 1 deletions
diff --git a/Completion/Linux/Command/.distfiles b/Completion/Linux/Command/.distfiles index 5968b219d..34f7bc10d 100644 --- a/Completion/Linux/Command/.distfiles +++ b/Completion/Linux/Command/.distfiles @@ -1,4 +1,4 @@ DISTFILES_SRC=' .distfiles -_losetup _modutils _mondo _uml _valgrind +_losetup _modutils _mondo _pkgtool _uml _valgrind ' diff --git a/Completion/Linux/Command/_pkgtool b/Completion/Linux/Command/_pkgtool new file mode 100644 index 000000000..61578e011 --- /dev/null +++ b/Completion/Linux/Command/_pkgtool @@ -0,0 +1,84 @@ +#compdef installpkg upgradepkg removepkg pkgtool explodepkg makepkg + +_slackware_pkg() { + local flags + + case "$service" in + installpkg) + flags=( + '-warn[warn if files will be overwritten, but do not install]' + '-root=[install someplace else, like /mnt]:Root directory:_path_files -/' + '-infobox[use dialog to draw an info box]' + '-menu[confirm package installation with a menu]' + '-ask[used with menu mode: always ask if a package should be installed regardless of what the package'\''s priority is]' + '-priority[provide a priority for the entire package list to use instead of the priority in the tagfile]:Priority list:(ADD REC OPT SKP)' + '-tagfile[specify a different file to use for package priorities. The default is "tagfile" in the package'\''s directory]:Tagfile:_files -/' + ) |
