about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-05-02 15:52:43 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-05-02 15:52:43 +0000
commit966eca4ad87436d03e380eef1ca55f49d0aeedb4 (patch)
tree5fb1ac19c1b33e2d7eed8f4add48e7125c521192 /Completion
parent5db44fff033a0f1426928aa514b5dbe4dcc5482c (diff)
downloadzsh-966eca4ad87436d03e380eef1ca55f49d0aeedb4.tar.gz
zsh-966eca4ad87436d03e380eef1ca55f49d0aeedb4.tar.xz
zsh-966eca4ad87436d03e380eef1ca55f49d0aeedb4.zip
11036, 11063, 11077: Always write the "read -q" prompt to shout; eliminate
some redundant close() calls; relocate a misplaced redirection.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_expand2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_expand b/Completion/Core/_expand
index 47253a094..712052b16 100644
--- a/Completion/Core/_expand
+++ b/Completion/Core/_expand
@@ -39,7 +39,7 @@ exp=("$word")
   { [[ "$curcontext" = expand-word:* ]] && expr=1 } } &&
     [[ "${(e):-\$[$expr]}" -eq 1 ]] &&
     exp=( ${(f)"$(print -lR - ${(e)exp//\\[ 	
-]/ } 2>/dev/null)"} )
+]/ })"} ) 2>/dev/null
 
 # If the array is empty, store the original string again.