summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-06-13 10:38:10 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-06-13 10:38:10 +0000
commit9c9352cc764f24c6069a4e87f81c5242de28d8f2 (patch)
tree440d2949d653003d4b87d03e18d1b81dd443f15b /Completion
parente10c11979420cc9455389cb6dab42c1d1babca22 (diff)
downloadzsh-9c9352cc764f24c6069a4e87f81c5242de28d8f2.tar.gz
zsh-9c9352cc764f24c6069a4e87f81c5242de28d8f2.tar.xz
zsh-9c9352cc764f24c6069a4e87f81c5242de28d8f2.zip
don't complete read-only parameters on the left side of an assignment (14896)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Zsh/Type/_command_names2
1 files changed, 1 insertions, 1 deletions
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