Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#968988: zsh: Wrong completion hints for *(c): + and - inverted



Roman Odaisky wrote on Tue, 25 Aug 2020 12:52 +0000:
> Package: zsh
> Version: 5.8-5
> Severity: normal
> 
> 1. Type: echo *(c
> 2. Press Tab
> 3. Observe completion hints which, among other things, suggest the use
> of the + and - signs, but these are mislabeled.
> 
> The “+” sign is incorrectly labeled “before” while “-” is incorrectly
> labeled “since”. In reality, minus means timestamps later than the one
> specified, and plus means earlier.

Thanks, Roman.  Confirmed.  Furthermore, «find -mtime <TAB>» is also affected.

Forwarding upstream herewith.  (ENOTIME to fix this myself.)

Cheers,

Daniel

> 
> 
> -- Package-specific info:
> 
> Packages which provide vendor completions:
> 
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name           Version                     Architecture Description
> +++-==============-===========================-============-========================================================
> ii  curl           7.66.0-1+b1                 amd64        command line tool for transferring data with URL syntax
> ii  docker-ce-cli  5:19.03.4~3-0~debian-buster amd64        Docker CLI: the open-source application container engine
> ii  systemd        242-7                       amd64        system and service manager
> ii  udev           242-7                       amd64        /dev/ and hotplug management daemon
> 
> dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/
> 
> 
> -- System Information:
> Debian Release: bullseye/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores)
> Kernel taint flags: TAINT_OOT_MODULE
> Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages zsh depends on:
> ii  libc6       2.30-4
> ii  libcap2     1:2.25-2
> ii  libtinfo6   6.1+20191019-1
> ii  zsh-common  5.8-5
> 
> Versions of packages zsh recommends:
> ii  libgdbm6      1.18.1-5
> ii  libncursesw6  6.1+20191019-1
> ii  libpcre3      2:8.39-12+b1
> 
> Versions of packages zsh suggests:
> pn  zsh-doc  <none>
> 
> -- no debconf information




Messages sorted by: Reverse Date, Date, Thread, Author