From 053629183d8075c5bd122c9767f0b4f8bf8be870 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 1 Jul 2002 08:25:15 +0000 Subject: add new sepcial context -assign-parameter- for completing the parameter in an assignment (17387) --- Completion/Zsh/Context/.distfiles | 2 +- Completion/Zsh/Context/_assign | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Completion/Zsh/Context/_assign (limited to 'Completion/Zsh') 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 '' -- cgit 1.4.1