summary refs log tree commit diff
path: root/Completion/Zsh/Context
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2015-09-28 02:18:49 +0200
committerMikael Magnusson <mikachu@gmail.com>2015-09-28 02:24:54 +0200
commitd85a1fcd888198d0212d7bec615751e8fe715fdd (patch)
tree709724da2621a85a023296d1a27ed02fc6e7a171 /Completion/Zsh/Context
parent2654cb43f63349cff06b3dd26932dd76f53aed4c (diff)
downloadzsh-d85a1fcd888198d0212d7bec615751e8fe715fdd.tar.gz
zsh-d85a1fcd888198d0212d7bec615751e8fe715fdd.tar.xz
zsh-d85a1fcd888198d0212d7bec615751e8fe715fdd.zip
unposted: Fix broken case condition and "qualifer" typo
Diffstat (limited to 'Completion/Zsh/Context')
-rw-r--r--Completion/Zsh/Context/_brace_parameter6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Zsh/Context/_brace_parameter b/Completion/Zsh/Context/_brace_parameter
index 9eb3465ae..e77d4c58b 100644
--- a/Completion/Zsh/Context/_brace_parameter
+++ b/Completion/Zsh/Context/_brace_parameter
@@ -31,7 +31,7 @@ if [[ $PREFIX = *'${('[^\)]# ]]; then
       ([gIjsZ_])
       # Single delimited argument.
       if [[ -z $PREFIX ]]; then
-	_delimiters qualifer-$char
+	_delimiters qualifier-$char
 	return
       elif ! _globqual_delims; then
 	# still completing argument
@@ -46,7 +46,7 @@ if [[ $PREFIX = *'${('[^\)]# ]]; then
 	  _message 'integer expression'
 	  ;;
 
-	  (js)
+	  ([js])
 	  _message "separator"
 	  ;;
 
@@ -71,7 +71,7 @@ if [[ $PREFIX = *'${('[^\)]# ]]; then
       ([lr])
       # One compulsory argument, two optional.
       if [[ -z $PREFIX ]]; then
-	_delimiters qualifer-$char
+	_delimiters qualifier-$char
 	return
       else
 	delim=$PREFIX[1]