about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Zsh/Type/_command_names2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 20e7a3c8e..f0bf1acf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-13  Oliver Kiddle  <opk@zsh.com>
+
+	* 14896: Completion/Zsh/Type/_command_names: don't complete read-only
+	parameters on the left side of an assignment
+
 2001-06-13  Peter Stephenson  <pws@csr.com>
 
 	* unposted: Completion/compinstall: pointed out by Bart:  bad
diff --git a/Completion/Zsh/Type/_command_names b/Completion/Zsh/Type/_command_names
index 844f190a6..cf4088295 100644
--- a/Completion/Zsh/Type/_command_names
+++ b/Completion/Zsh/Type/_command_names
@@ -22,7 +22,7 @@ else
     'aliases:alias:compadd -k aliases'
     'reserved-words:reserved word:compadd -k reswords'
     'jobs:: _jobs -t'
-    'parameters:: _parameters -qS= -r "\n\t\- =["'
+    'parameters:: _parameters -g "^*readonly*" -qS= -r "\n\t\- =["'
   )
 fi