about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-05-08 15:09:56 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-05-08 15:09:56 +0000
commitb8fd7a31bdce7a6e426e661644c0be21723a2962 (patch)
tree20f493ae39f9c6a7d2bf1c63664500603465f724
parent83032fe8761f8830f4894aad6e84cbe46bbe7512 (diff)
downloadzsh-b8fd7a31bdce7a6e426e661644c0be21723a2962.tar.gz
zsh-b8fd7a31bdce7a6e426e661644c0be21723a2962.tar.xz
zsh-b8fd7a31bdce7a6e426e661644c0be21723a2962.zip
Remove unnecessary '*' from pattern.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Zsh/Context/_subscript2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 363e64c54..f523c46a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-08  Bart Schaefer  <schaefer@zsh.org>
+
+	* unposted: Completion/Zsh/Context/_subscript: Remove unnecessary
+	`*' from a pattern.
+
 2001-05-08  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 14257: Completion/Base/Utility/_values, Doc/Zsh/compsys.yo,
diff --git a/Completion/Zsh/Context/_subscript b/Completion/Zsh/Context/_subscript
index 516c8cae9..224fbb148 100644
--- a/Completion/Zsh/Context/_subscript
+++ b/Completion/Zsh/Context/_subscript
@@ -8,7 +8,7 @@ if [[ "$1" = -q ]]; then
   shift
 fi
 
-compset -P '\(([^\(\)]|*\(*\)*)##\)' # remove subscript flags
+compset -P '\(([^\(\)]|\(*\))##\)' # remove subscript flags
 
 if [[ "$PREFIX" = :* ]]; then
   _wanted characters expl 'character class' \