From: Jeff <lists@llsd.net>
To: zsh-users@sunsite.dk
Subject: compinit causes strange tab completion on '<'
Date: Mon, 13 Feb 2006 03:24:16 -0500 [thread overview]
Message-ID: <43F04230.8050708@llsd.net> (raw)
in case it matters. zsh 4.2.5
kernel 2.6.15
I have discovered some odd behavior with tab completion when compinit is
loaded even with default completion set.
I like to use the'<' builtin instead of cat
a user with no .zshrc file
%pwd
/etc
% < init.d/[tab]
gives correct file listing of /etc/init.d/
%< ./init.d/[tab]
gives correct file listing of /etc/init.d/
%< /etc/init.d/[tab]
gives correct file listing of /etc/init.d/
%cat /etc/int.d/[tab]
gives correct file listing of /etc/init.d/
%autoload -U compinit;compinit
%pwd
/etc
% < init.d/[tab]
gives correct file listing of /etc/init.d/
%< ./init.d/[tab]
gives no completion
%< /etc/init.d/[tab]
gives no completion
%cat /etc/int.d/[tab]
gives correct file listing of /etc/init.d/
%cat ./init.d/[tab]
gives correct file listing of /etc/init.d/
so basically what is going wrong is that if the path I am trying to
expand with tab starts with a / , ./ or ../ then no
expansion/completion occurs.
what can I do do make completion work correctly with "<" ?
next reply other threads:[~2006-02-13 8:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-13 8:24 Jeff [this message]
2006-02-13 16:29 ` Bart Schaefer
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=43F04230.8050708@llsd.net \
--to=lists@llsd.net \
--cc=zsh-users@sunsite.dk \
/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).