* a directory `a#'.
@ 2000-03-24 11:02 Tanaka Akira
0 siblings, 0 replies; 2+ messages in thread
From: Tanaka Akira @ 2000-03-24 11:02 UTC (permalink / raw)
To: zsh-workers
Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% mkdir a\#
is27e1u11% touch a\#/b
is27e1u11% ls a\#/
This inserts a space rather than `b '.
--
Tanaka Akira
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: a directory `a#'.
@ 2000-03-24 11:55 Sven Wischnowsky
0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2000-03-24 11:55 UTC (permalink / raw)
To: zsh-workers
Tanaka Akira wrote:
> Z(2):akr@is27e1u11% Src/zsh -f
> is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
> is27e1u11% mkdir a\#
> is27e1u11% touch a\#/b
> is27e1u11% ls a\#/
>
> This inserts a space rather than `b '.
Small quoting problem when testing for ambiguity.
Bye
Sven
diff -ru ../z.old/Completion/Core/_path_files Completion/Core/_path_files
--- ../z.old/Completion/Core/_path_files Fri Mar 24 12:23:16 2000
+++ Completion/Core/_path_files Fri Mar 24 12:54:58 2000
@@ -417,9 +418,9 @@
# Next we see if this component is ambiguous.
if [[ "$tmp3" = */* ]]; then
- tmp4=$tmp1[(I)^${tmp1[1]%%/*}/*]
+ tmp4=$tmp1[(I)^${(q)tmp1[1]%%/*}/*]
else
- tmp4=$tmp1[(I)^${tmp1[1]}]
+ tmp4=$tmp1[(I)^${(q)tmp1[1]}]
fi
if [[ "$tpre" = */* ]]; then
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-03-24 11:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-24 11:02 a directory `a#' Tanaka Akira
2000-03-24 11:55 Sven Wischnowsky
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).