From adbab91edbb9df8a8c4bc9c98fc68ca857a4fcf6 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 7 Aug 2001 19:29:13 +0000 Subject: use _x_display when setting $DISPLAY and fix bug in enable completion (15594) --- ChangeLog | 6 +++++- Completion/Zsh/Command/_enable | 2 +- Completion/Zsh/Context/_value | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 04eab98ad..aa0ad91bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2001-08-07 Oliver Kiddle + * 15594: Completion/Zsh/Context/_value, + Completion/Zsh/Command/_enable: use _x_display when setting + $DISPLAY and fix substitution mistake in enable completion + * 15590: Completion/Zsh/Context/_equal: after 15586, we no longer want to complete aliases in the equal context @@ -25,7 +29,7 @@ 2001-08-07 Sven Wischnowsky - * 15584: Src/parse.c: increment zwc fie version (which means + * 15584: Src/parse.c: increment zwc file version (which means changing the magic number) 2001-08-06 Oliver Kiddle diff --git a/Completion/Zsh/Command/_enable b/Completion/Zsh/Command/_enable index 527423b3c..380e3ba5d 100644 --- a/Completion/Zsh/Command/_enable +++ b/Completion/Zsh/Command/_enable @@ -5,4 +5,4 @@ _arguments -C -s -A "-*" -S \ "(-a -r)-f[act on functions]:*:functions:(${(k)dis_functions})" \ "(-a -f)-r[act on reserved words]:*:reserved-words:(${(k)dis_reswords})" \ '-m[treat arguments as patterns]' \ - "*:builtin command:(${(@k)dis_builtins})" + "*:builtin command:(${(k)dis_builtins})" diff --git a/Completion/Zsh/Context/_value b/Completion/Zsh/Context/_value index 15218eb60..cb2675c0e 100644 --- a/Completion/Zsh/Context/_value +++ b/Completion/Zsh/Context/_value @@ -58,4 +58,6 @@ _value:LDFLAGS () { fi } +_value:DISPLAY() { _x_display "$@" } + _value "$@" -- cgit 1.4.1