summary refs log tree commit diff
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
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)
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Zsh/Command/_enable2
-rw-r--r--Completion/Zsh/Context/_value2
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  <opk@zsh.org>
 
+	* 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  <wischnow@zsh.org>
 
-	* 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  <opk@zsh.org>
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 "$@"