From e6fdd35a83881a957ac206b4e128886d07f37c71 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 9 Jul 2021 00:23:52 +0200 Subject: 49150: consistently use singular form for headings on completion match groups --- Completion/Unix/Command/_find | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_find') diff --git a/Completion/Unix/Command/_find b/Completion/Unix/Command/_find index 916fcf2e6..8ff60baf2 100644 --- a/Completion/Unix/Command/_find +++ b/Completion/Unix/Command/_find @@ -89,7 +89,7 @@ case $variant in '-X[warn if filename contains characters special to xargs]' '-f[specify file hierarchy to traverse]:path:_directories' "-x[don't span filesystems]" - '*-flags:flags:_chflags' + '*-flags:flag:_chflags' ) ;| freebsd*|dragonfly*) args+=( '*-sparse' ) ;| -- cgit v1.2.3 From 702d773e8657d1f8ea161d65d5dfce238a67c204 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 16 Dec 2021 14:19:48 +0100 Subject: 49648 based on github #80 (Vincent Bernat): invert before/since for date glob qualifiers completion --- ChangeLog | 6 ++++++ Completion/Unix/Command/_find | 4 ++-- Completion/Zsh/Type/_globquals | 8 +++----- 3 files changed, 11 insertions(+), 7 deletions(-) (limited to 'Completion/Unix/Command/_find') diff --git a/ChangeLog b/ChangeLog index 676a2584c..12809f662 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2021-12-16 Oliver Kiddle + + * 49648 based on github #80 (Vincent Bernat): + Completion/Unix/Command/_find, Completion/Zsh/Type/_globquals: + invert before/since for date glob qualifiers completion + 2021-12-14 Oliver Kiddle * 49518: Src/Zle/computil.c, Etc/BUGS, Test/Y03arguments.ztst: diff --git a/Completion/Unix/Command/_find b/Completion/Unix/Command/_find index 8ff60baf2..74111f92b 100644 --- a/Completion/Unix/Command/_find +++ b/Completion/Unix/Command/_find @@ -156,11 +156,11 @@ if [[ $state = times ]]; then if zstyle -t ":completion:${curcontext}:senses" verbose; then zstyle -s ":completion:${curcontext}:senses" list-separator sep || sep=-- default=" [default exactly]" - disp=( "- $sep before" "+ $sep since" ) + disp=( "+ $sep before (older files)" "- $sep since (newer files)" ) smatch=( - + ) else disp=( before exactly since ) - smatch=( - '' + ) + smatch=( + '' - ) fi alts=( "senses:sense${default}:compadd -V times -S '' -d disp -a smatch" ) fi diff --git a/Completion/Zsh/Type/_globquals b/Completion/Zsh/Type/_globquals index 915f97c1c..bc3165eba 100644 --- a/Completion/Zsh/Type/_globquals +++ b/Completion/Zsh/Type/_globquals @@ -127,16 +127,14 @@ while [[ -n $PREFIX ]]; do alts+=( "time-specifiers:time specifier:compadd -E 0 -d tdisp -S '' -a tmatch" ) fi if ! compset -P '[-+]' && [[ -z $PREFIX ]]; then - sdisp=( before exactly since ) - smatch=( - '' + ) if zstyle -t ":completion:${curcontext}:senses" verbose; then zstyle -s ":completion:${curcontext}:senses" list-separator sep || sep=-- default=" [default exactly]" - sdisp=( "- $sep before" "+ $sep since" ) - smatch=( - + ) + sdisp=( "+ $sep before (older files)" "- $sep since (newer files)" ) + smatch=( + - ) else sdisp=( before exactly since ) - smatch=( - '' + ) + smatch=( + '' - ) fi alts+=( "senses:sense${default}:compadd -E 0 -d sdisp -S '' -a smatch" ) fi -- cgit v1.2.3