about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2002-07-01 08:25:15 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2002-07-01 08:25:15 +0000
commit053629183d8075c5bd122c9767f0b4f8bf8be870 (patch)
tree7285316b73b6f649e1febcebc30be0c4fdfa3e0b /Completion/Zsh
parent6278159f6dc177bdfd6a18779b081198d47a9a80 (diff)
downloadzsh-053629183d8075c5bd122c9767f0b4f8bf8be870.tar.gz
zsh-053629183d8075c5bd122c9767f0b4f8bf8be870.tar.xz
zsh-053629183d8075c5bd122c9767f0b4f8bf8be870.zip
add new sepcial context -assign-parameter- for completing the parameter in an assignment (17387)
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Context/.distfiles2
-rw-r--r--Completion/Zsh/Context/_assign3
2 files changed, 4 insertions, 1 deletions
diff --git a/Completion/Zsh/Context/.distfiles b/Completion/Zsh/Context/.distfiles
index b844887d6..59777c30d 100644
--- a/Completion/Zsh/Context/.distfiles
+++ b/Completion/Zsh/Context/.distfiles
@@ -1,6 +1,6 @@
 DISTFILES_SRC='
 .distfiles
-_autocd
+_assign           _autocd
 _brace_parameter  _equal            _math             _subscript
 _condition        _first            _parameter        _tilde
 _default          _in_vared         _redirect         _value
diff --git a/Completion/Zsh/Context/_assign b/Completion/Zsh/Context/_assign
new file mode 100644
index 000000000..4935cc9cf
--- /dev/null
+++ b/Completion/Zsh/Context/_assign
@@ -0,0 +1,3 @@
+#compdef -assign-parameter-
+
+_parameters -g "^*readonly*" -S ''