1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-08 08:36:17 +02:00

unposted: Fix broken case condition and "qualifer" typo

This commit is contained in:
Mikael Magnusson 2015-09-28 02:18:49 +02:00
parent 2654cb43f6
commit d85a1fcd88
5 changed files with 16 additions and 11 deletions

View File

@ -1,12 +1,17 @@
2015-09-28 Mikael Magnusson <mikachu@gmail.com>
* unposted: Completion/Zsh/Context/_brace_parameter,
Completion/Zsh/Type/_delimiters, Completion/Zsh/Type/_globquals,
Functions/Calendar/age: Fix broken case condition and "qualifer"
typo
2015-09-27 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36651: Doc/Zsh/options.yo Src/exec.c Src/math.c
* 36651: Doc/Zsh/options.yo, Src/exec.c, Src/math.c,
Test/E01options.ztst: WARN_CREATE_GLOBAL += math expressions
2015-09-27 Matthew Martin <phy1729@gmail.com>
* 36653: Completion/Unix/Command/_user_admin: OpenBSD's usermod
has no -a flag
* Matthew Martin: 36653: Completion/Unix/Command/_user_admin:
OpenBSD's usermod has no -a flag
2015-09-27 Barton E. Schaefer <schaefer@zsh.org>

View File

@ -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]

View File

@ -1,6 +1,6 @@
#autoload
# Simple function to offer delimiters for modifiers and qualifers.
# Simple function to offer delimiters for modifiers and qualifiers.
# Single argument is tag to use.
local expl

View File

@ -47,7 +47,7 @@ while [[ -n $PREFIX ]]; do
(e)
# complete/skip delimited command line
if [[ -z $PREFIX ]]; then
_delimiters qualifer-e
_delimiters qualifier-e
return
elif ! _globqual_delims; then
# still completing command to eval

View File

@ -1,4 +1,4 @@
# Match the age of a file, for use as a glob qualifer. Can
# Match the age of a file, for use as a glob qualifier. Can
# take one or two arguments, which can be supplied by one of two
# ways (always the same for both arguments):
#