zsh-workers
 help / color / mirror / code / Atom feed
From: Takeshi Banse <thb@laafc.net>
To: zsh-users@zsh.org
Cc: zsh-workers@zsh.org, Takeshi Banse <thb@laafc.net>
Subject: _path_files: fix copy paste error
Date: Fri, 23 Feb 2018 10:19:22 +0900	[thread overview]
Message-ID: <20180223011922.3523-1-thb@laafc.net> (raw)
In-Reply-To: <20180223002950.2892-1-thb@laafc.net>

Signed-off-by: Takeshi Banse <thb@laafc.net>
---

I'm very sorry! I fixed the copy paste error in the previous patch.

 Completion/Unix/Type/_path_files | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index 8fbc21ffa..6a869defa 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -274,7 +274,7 @@ if [[ "$pre" = [^][*?#^\|\<\>\\]#(\`[^\`]#\`|\$)*/* && "$compstate[quote]" != \'
   orig="${orig[1,(in:i:)/][1,-2]}"
   donepath=
   prepaths=( '' )
-elif [[ "$pre" = \~\[* && "$compstate[quote]" = (|\`) ]]; then
+elif [[ "$pre" = \~\[* && "$compstate[quote]" = (|\`) ]] &&
   (($+functions[zsh_directory_name] || $+zsh_directory_name_functions)) &&
   () {
     # It begins with `~[', so the characters from `$pre[3]' to before the
-- 
2.16.1


  reply	other threads:[~2018-02-23  1:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <p6nhj1$5nv$1@blaine.gmane.org>
2018-02-23  0:29 ` [RFC PATCH] _path_files: teach zsh_directory_name Takeshi Banse
2018-02-23  1:19   ` Takeshi Banse [this message]
2018-02-23  1:30   ` _path_files: fix copy paste error (2/2) Takeshi Banse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180223011922.3523-1-thb@laafc.net \
    --to=thb@laafc.net \
    --cc=zsh-users@zsh.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).