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) --- Completion/Zsh/Command/_enable | 2 +- Completion/Zsh/Context/_value | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'Completion/Zsh') 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