about summary refs log tree commit diff
path: root/Completion/Bsd
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-10-06 13:01:51 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-10-06 13:01:51 +0000
commitcb4bb129dd143255a582ddd203baa73d3dcc1db7 (patch)
tree9edc79a76c65821dfabccdb6a13f7c6e6adbc7e9 /Completion/Bsd
parent2f2a33b2ea949a15d0e50678a495803bf8c07ef4 (diff)
downloadzsh-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')
-rw-r--r--Completion/Bsd/_bsd_pkg8
-rw-r--r--Completion/Bsd/_kld2
2 files changed, 5 insertions, 5 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
 }
diff --git a/Completion/Bsd/_kld b/Completion/Bsd/_kld
index ccecc2a0f..8fc719ccb 100644
--- a/Completion/Bsd/_kld
+++ b/Completion/Bsd/_kld
@@ -4,7 +4,7 @@
 _kld_module() {
   local ret=1
 
-  compadd "$@" - /boot/kernel/*.ko(N:t) /modules/*.ko(N:t) && ret=0
+  compadd "$@" - /boot/kernel/*.ko(:t) /modules/*.ko(:t) && ret=0
   _files "$@" -g \*.ko && ret=0
 
   return ret