about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-08-07 19:29:13 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-08-07 19:29:13 +0000
commitadbab91edbb9df8a8c4bc9c98fc68ca857a4fcf6 (patch)
treecfc48825ef1c042860c06abdfc6fdb2b8318cb58 /Completion/Zsh
parent4b5c30993a956832db30eb914954fb2b57745295 (diff)
downloadzsh-adbab91edbb9df8a8c4bc9c98fc68ca857a4fcf6.tar.gz
zsh-adbab91edbb9df8a8c4bc9c98fc68ca857a4fcf6.tar.xz
zsh-adbab91edbb9df8a8c4bc9c98fc68ca857a4fcf6.zip
use _x_display when setting $DISPLAY and fix bug in enable completion (15594)
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Command/_enable2
-rw-r--r--Completion/Zsh/Context/_value2
2 files changed, 3 insertions, 1 deletions
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 "$@"