about summary refs log tree commit diff
path: root/Completion/Core
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/Core
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/Core')
-rw-r--r--Completion/Core/_expand2
-rw-r--r--Completion/Core/_path_files5
2 files changed, 2 insertions, 5 deletions
diff --git a/Completion/Core/_expand b/Completion/Core/_expand
index d47251c5a..44dfa4789 100644
--- a/Completion/Core/_expand
+++ b/Completion/Core/_expand
@@ -7,7 +7,7 @@
 # the expansions done produce no result or do not change the original
 # word from the line.
 
-setopt localoptions nullglob nonomatch
+setopt localoptions nonomatch
 
 [[ _matcher_num -gt 1 ]] && return 1
 
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files
index b9f578860..256478515 100644
--- a/Completion/Core/_path_files
+++ b/Completion/Core/_path_files
@@ -10,9 +10,6 @@ local nm=$compstate[nmatches] menu matcher mopts sort match mid accex fake
 
 typeset -U prepaths exppaths
 
-setopt localoptions nullglob rcexpandparam
-unsetopt markdirs globsubst shwordsplit nounset
-
 exppaths=()
 
 # Get the options.
@@ -317,7 +314,7 @@ for prepath in "$prepaths[@]"; do
 
     # Force auto-mounting. There might be a better way...
 
-    : ${^tmp1}/${PREFIX}${SUFFIX}/.(N/)
+    : ${^tmp1}/${PREFIX}${SUFFIX}/.(/)
 
     # Get the matching files by globbing.