diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-06 13:01:51 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-06 13:01:51 +0000 |
commit | cb4bb129dd143255a582ddd203baa73d3dcc1db7 (patch) | |
tree | 9edc79a76c65821dfabccdb6a13f7c6e6adbc7e9 /Completion/Bsd/_bsd_pkg | |
parent | 2f2a33b2ea949a15d0e50678a495803bf8c07ef4 (diff) | |
download | zsh-cb4bb129dd143255a582ddd203baa73d3dcc1db7.tar.gz zsh-cb4bb129dd143255a582ddd203baa73d3dcc1db7.tar.xz zsh-cb4bb129dd143255a582ddd203baa73d3dcc1db7.zip |
more option setting cleanup; remove some unnecessary setopts, remove N qualifiers (12917)
Diffstat (limited to 'Completion/Bsd/_bsd_pkg')
-rw-r--r-- | Completion/Bsd/_bsd_pkg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Bsd/_bsd_pkg b/Completion/Bsd/_bsd_pkg index 6ab057dfc..f302f8216 100644 --- a/Completion/Bsd/_bsd_pkg +++ b/Completion/Bsd/_bsd_pkg @@ -7,7 +7,7 @@ _bsd_pkg_packages() { paths=( "${(@)${(@s.:.)PKG_PATH}:#}" ) _files "$@" -g \*.tgz && ret=0 (( $#path )) && _files "$@" -W paths -g \*.tgz && ret=0 - compadd "$@" - /usr/ports/packages/All/*.tgz(N) && ret=0 + compadd "$@" - /usr/ports/packages/All/*.tgz && ret=0 return ret } @@ -37,7 +37,7 @@ _bsd_pkg() { '-d[remove empty directories]' \ '-f[force deinstallation]' \ '-p:prefix directory:_files -/' \ - '*:package to deinstall:compadd - /var/db/pkg/*(N\:t)' + '*:package to deinstall:compadd - /var/db/pkg/*(\:t)' ;; pkg_info) @@ -57,10 +57,10 @@ _bsd_pkg() { '-R[show list list of installed requiring packages]' \ '-m[show mtree files]' \ '-L[show full pathnames of files]' \ - '-e[test if package is installed]:package name:compadd - /var/db/pkg/*(N\:t)' \ + '-e[test if package is installed]:package name:compadd - /var/db/pkg/*(\:t)' \ '-l:prefix directory:_files -/' \ '-t:mktemp template:_files -/' \ - '(-a)*:package name:compadd - /var/db/pkg/*(N\:t)' + '(-a)*:package name:compadd - /var/db/pkg/*(\:t)' ;; esac } |