mirror of
https://github.com/zsh-users/zsh
synced 2024-10-01 13:44:44 +00:00
unposted: Fix broken case condition and "qualifer" typo
This commit is contained in:
parent
2654cb43f6
commit
d85a1fcd88
15
ChangeLog
15
ChangeLog
|
@ -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>
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue