From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1561 invoked from network); 30 May 2021 10:41:06 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 30 May 2021 10:41:06 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1622371266; b=VG5BIStk6m4BGfJJoGMAkPr0q74KbXvR6pMs+9jipA9wftV9f4Eay6zVvtynrcqTUOwljD2D6U Ty8kRfDZ+h4jSziE8W77nClMjIoL+/aeaVXFLHXo6z/zr1Ru29dh90cttnBd2Y7q6fu3B2C0Zg DVkPJhA09ZOMLZ8Qwm7jtejeSDlzWtiyeWR/URgKsxQYEkKPgZwe2gtwioLq5S+rij/kqV29PD tbg8ZKjBKVLsr6YfyV9S3UNs7uqjhWX86mfvuEYkgmwLE/4yBn9wfQTAUZHUSYMtbOJajO0rQS dGiRkpVr9w1YdIS2JQetR60EwvuAX57cfCKnKhbOxXp1wg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-pl1-f172.google.com) smtp.remote-ip=209.85.214.172; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1622371266; bh=xYTYxu3TgpfMocoXzviD15+PeXPcFAPfNhX6ac0oG8Y=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: DKIM-Signature:DKIM-Signature; b=S8ZUS9XbllEi+SDP/bImMgy/FjS/6In3mPEjfnopXsRdnPUtPcSAW2frOwSBPjt+qtIJrmenUm 3WmplCkngO+DwQbLfnUQjxj+z4QfZ3A8w741VuHvEJwYMpExMaeXf5gm3DL4xdxxtXaJGoTTMy 6pl2/Gp5mF/s8wspy8MEEh2Kcqrl9DzOH3EGVDOjVEGngDBD+92LXXiTihjqvz4hem0At6+tEK J1xXPWpesuDPGtzZQcYFqKy82DD3sU3KAVnTW7UNirYtyqnlfJlTGKPJ+hhBPyfyViJ1474Pdk LNx9KUEP9sb2+Ba/aUFu461MTUuW5HRIW0ebMADBTvCUzQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:MIME-Version:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=VLHXwrp4JG9ptt+4k04IfEAxqOpaN4zIpz3WT62Rk0A=; b=h/SWfYVvqePyeeehtK1kil+gea pDRUW4CUGZlrxQUDy22UnjQE3QxvoHu/ExifUBlLuj4PKTzDfjsAOW3W13GkHibz66OajOX2k5eCk PknvFvSORbzWSTA8wYDqnkgmL4a5U86oKmrViXGfGcUpPurBRzX/2I+NRNLIwuqRi25lpnbb27Dj8 UQx2ZP8Pk4AW/BSlvu39SKJFsK9lY30Hlpce8Th7nKGi+RXia9btNURvskil7hojAOakKXuK2sxZm oNBAnCR+QdPZ+ilOm7awTifSCH2QgtWsVnIol0YgoC21l5Y7nIvLi9T4IVGpwaAtOThf4p+dA/Ny0 CxkpdyDg==; Received: from authenticated user by zero.zsh.org with local id 1lnIsT-0005wH-Cu; Sun, 30 May 2021 10:41:05 +0000 Authentication-Results: zsh.org; iprev=pass (mail-pl1-f172.google.com) smtp.remote-ip=209.85.214.172; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-pl1-f172.google.com ([209.85.214.172]:34690) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lnIrZ-0005CH-Ge; Sun, 30 May 2021 10:40:09 +0000 Received: by mail-pl1-f172.google.com with SMTP id e15so3779205plh.1 for ; Sun, 30 May 2021 03:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=VLHXwrp4JG9ptt+4k04IfEAxqOpaN4zIpz3WT62Rk0A=; b=GzZSGWp96ziLi/3oGkJnNSdO86MOwwUWOO4XUUr4kAXAAx+NEzUJDhs4cb5M2OLoTl ORiLUcptj5Zki358R3iz8st1sTk+y9W4Aev96T7CTJZYbU/qW/EruJ6DHIKGjYDP7Vvq tlsLUvM4i32QJHds+Iw5to8SPXtSORIDZOGswiWCETqEGfZfdCTMV9W7V7MiMxKL5Duu /vT6wqiuhDVDtCDY7hwzbwPW2ldEMhDXALmT/8+iaiWqQR+2h/QJY82a/dY2YHMgEI42 abHPsDTVKyyONzaG3ahXwxPdKfwtSaNLHlQ3hDmELuKGMJNKhsuEioZKlnHPHUByPjjM 3rKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VLHXwrp4JG9ptt+4k04IfEAxqOpaN4zIpz3WT62Rk0A=; b=fSj78GZ3ur7M24kC8JwPv936yhBxjksXf4o1dg756+sI51COdfpUBuhfE9fCKPXc4H HeSKz+RopZ9bwdSdh3E9smFEUZhVBtQTFPshah2Shlt5SpBIGOe5RG3O8p68PvwviBB1 SMrOHdFQc/3mmmQmIgi2/lkqqxFWpJsXWVqCQKLGoANzM0Eg5zybSzqsA0Xf2Nl1ogwP Fol6vmredBRibCr84i811ETiIQgc1ZpXSJkTdyG0PTCHzeaKOehrfoQyACE0a8+wDFWJ nwDVCEeeAtLsluT1fj2ylEidSwZ+1KY9pgQfsS/mxdS4k9ttKkPR7n04NMV1d/vKR3v7 ETOg== X-Gm-Message-State: AOAM531iuWbEjBQ0vrshhAaFYCCYYRYPqZVhzRshWmIDS9dc6glFr1zy VHfahIJZJFSFuwmj1J09I6LP0pZKWVLE7et92aiMh8zjWkhCPg== X-Google-Smtp-Source: ABdhPJylJfF1pkZUZkNXxijKy/0aQ+1AXZXMCkYLKCxvCen/GwZK5+8AlLR0R1ItxFh0Zh9Pe+BjMJzDcj+oxibnsAQ= X-Received: by 2002:a17:90a:4493:: with SMTP id t19mr13760087pjg.217.1622371207846; Sun, 30 May 2021 03:40:07 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Fran=C3=A7ois_RONVAUX?= Date: Sun, 30 May 2021 12:39:57 +0200 Message-ID: Subject: Completion does not work with hidden files/directories To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary="00000000000089a0cd05c389bb40" X-Seq: 26746 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --00000000000089a0cd05c389bb40 Content-Type: text/plain; charset="UTF-8" Hello gurus of ZSH, In my home directory, there are currently only hidden files/directories and the completion mechanism does not see them :-( Few examples... user@hostname [12:07:01]:~ % ls No matches for: `files' But if I manualy insert a dot : user@hostname [12:27:06]:~ % ls . --==[ files ]==-- .Maildir/ .Xdefaults .cache/ .config/ .cshrc .cvsrc .local/ .login .mailrc .nanorc .profile .ssh/ .zsh/ Same issue when I want to change of directory : user@hostname [12:28:30]:~ % cd No matches for: `local directory' user@hostname [12:29:31]:~ % cd . --==[ local directory ]==-- .Maildir/ .cache/ .config/ .local/ .ssh/ .zsh/ The completion does work fine with not hidden files/directories. What is wrong with my file "~/.zsh/completion" ? Note : my machine runs OpenBSD v5.9 with zsh v5.8 ; I do not know if it matters. #==================================================== zstyle ':completion:*:*:cd:*' tag-order local-directories path-directories zstyle ':completion:*' menu select=2 zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s zstyle ':completion:*:rm:*' ignore-line yes zstyle ':completion:*:mv:*' ignore-line yes zstyle ':completion:*:cp:*' ignore-line yes zstyle ':completion:*' verbose yes zstyle ':completion:*:descriptions' format '--==[ %U%B%d%b%u ]==--' zstyle ':completion:*:messages' format '--==[ %d ]==--' zstyle ':completion:*:warnings' format 'No matches for: %d' zstyle ':completion:*:corrections' format '%B%d (errors: %e)%b' zstyle ':completion:*' group-name '' # Color completion. zstyle ':completion:*' list-colors '' zstyle ':completion:*' list-colors 'di=01;34' # Kill completion. zstyle ':completion:*:processes' command 'ps -ax' zstyle ':completion:*:processes-names' command 'ps -aeo comm=' zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' zstyle ':completion:*:*:kill:*' menu yes select zstyle ':completion:*:*:killall:*:processes-names' list-colors '=(#b) #([0-9]#)*=0=01;31' zstyle ':completion:*:*:killall:*' menu yes select # Partial completion suggestions. zstyle ':completion:*' list-suffixeszstyle ':completion:*' expand prefix suffix # Persistent rehash. zstyle ':completion:*' rehash true # Create a cache. zstyle ':completion:*' cache-path ${ZDOTDIR}/zsh_cache zstyle ':completion:*' use-cache true #on autoload -Uz compinit promptinit compinit promptinit #==================================================== Second issue (less important) : the section "Create a cache" in the above file does not work. Regards. --00000000000089a0cd05c389bb40 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello gurus of ZSH,


In m= y home directory, there are currently only hidden files/directories and the= completion mechanism does not see them=C2=A0 :-(

= Few examples...

user@hostname [12:07:01]:~ % ls No matches for: `files'

But if I manualy insert a dot :
user@hostname [12:27:06]:~ % ls .
--=3D=3D[ files ]=3D=3D--
.Maildir= / =C2=A0 .Xdefaults =C2=A0.cache/ =C2=A0 =C2=A0 .config/ =C2=A0 =C2=A0.cshr= c =C2=A0 =C2=A0 =C2=A0.cvsrc =C2=A0 =C2=A0 =C2=A0.local/ =C2=A0 =C2=A0 .log= in =C2=A0 =C2=A0 =C2=A0.mailrc =C2=A0 =C2=A0 .nanorc =C2=A0 =C2=A0 .profile= =C2=A0 =C2=A0.ssh/ =C2=A0 =C2=A0 =C2=A0 .zsh/


Same issue when I want to change of directory :

user= @hostname [12:28:30]:~ % cd=C2=A0
No matches for: `local directory'<= br>
user@hostname [12:29:31]:~ % cd .
--=3D=3D[ local directory ]=3D= =3D--
.Maildir/ =C2=A0.cache/ =C2=A0 =C2=A0.config/ =C2=A0 .local/ =C2= =A0 =C2=A0.ssh/ =C2=A0 =C2=A0 =C2=A0.zsh/


=
The completion does work fine with not hidden files/directories.=
What is wrong with my file=20 "~/.zsh/completion" ?

Note : my machine runs OpenBSD v5.9 with zs= h v5.8 ; I do not know if it matters.

#=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
zstyle ':completion:*:*:cd:*' tag-order local-directories p= ath-directories
zstyle ':completion:*' menu select=3D2
zstyle= ':completion:*' select-prompt %SScrolling active: current selectio= n at %p%s
zstyle ':completion:*:rm:*' ignore-line yes
zstyle = ':completion:*:mv:*' ignore-line yes
zstyle ':completion:*:c= p:*' ignore-line yes

zstyle ':completion:*' verbose yes<= br>zstyle ':completion:*:descriptions' format '--=3D=3D[ %U%B%d= %b%u ]=3D=3D--'
zstyle ':completion:*:messages' format '= --=3D=3D[ %d ]=3D=3D--'
zstyle ':completion:*:warnings' form= at 'No matches for: %d'
zstyle ':completion:*:corrections= 9; format '%B%d (errors: %e)%b'
zstyle ':completion:*' g= roup-name ''

# Color completion.
zstyle ':completion:= *' list-colors ''
zstyle ':completion:*' list-colors= 'di=3D01;34'

# Kill completion.
zstyle ':completion:= *:processes' command 'ps -ax'
zstyle ':completion:*:proc= esses-names' command 'ps -aeo comm=3D'
zstyle ':completi= on:*:*:kill:*:processes' list-colors '=3D(#b) #([0-9]#)*=3D0=3D01;3= 1'
zstyle ':completion:*:*:kill:*' menu yes select
zstyle= ':completion:*:*:killall:*:processes-names' list-colors '=3D(#= b) #([0-9]#)*=3D0=3D01;31'
zstyle ':completion:*:*:killall:*'= ; menu yes select

# Partial completion suggestions.
zstyle ':= completion:*' list-suffixeszstyle ':completion:*' expand prefix= suffix

# Persistent rehash.
zstyle ':completion:*' rehas= h true

# Create a cache.
zstyle ':completion:*' cache-pat= h ${ZDOTDIR}/zsh_cache
zstyle ':completion:*' use-cache true #on=

autoload -Uz compinit promptinit
compinit
promptinit
#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=C2=A0=C2=A0

Second issue (le= ss important) : the section "Create a cache" in the above file do= es not work.


Regards.
--00000000000089a0cd05c389bb40--