zsh-users
 help / color / mirror / code / Atom feed
* globbing
@ 2001-08-10  7:20 Will Yardley
  2001-08-10  9:09 ` globbing Borsenkow Andrej
  2001-08-10  9:43 ` globbing Oliver Kiddle
  0 siblings, 2 replies; 8+ messages in thread
From: Will Yardley @ 2001-08-10  7:20 UTC (permalink / raw)
  To: Zsh Users

well i'm sorry if this is a dumb question, but i really did rtfm... just
haven't been able to figure this one out for a while....

in bash if it hit
% cd /home/* and hit tab, it just sits there (although i can tab complete
other stuff)

in zsh, it'll split out the whole list unless i put the slash after the
asterisk, which can get pretty messy

% cd /home/abuse /home/andrewh /home/ben /home/brad /home/brett /home/brian
/home/charis /home/dadmin ...... and so on and so forth

glob_complete is almost what i want, only ideally i'd like it to not display
the entire array.

i think the second question has been brought up before, but is there a way to
do:
% cd /usr/l<tab>bin
and have that complete to /usr/local/bin as in bash (without putting a space
after /usr?

i do have complete_in_word set, but that's not exactly the same thing...

i love zsh, but there are a few little things that i still haven't been able
to aproximate.  i'm sure i'll get over it eventually....

w


^ permalink raw reply	[flat|nested] 8+ messages in thread
* globbing
@ 2005-07-21  2:48 Tyler Spivey
  0 siblings, 0 replies; 8+ messages in thread
From: Tyler Spivey @ 2005-07-21  2:48 UTC (permalink / raw)
  To: zsh-users

How can I get this to work? I want to read a filespec from the user,
then expand it into an array from a variable. e.g. (nonworking code):
f=\*
a=($f)
This should work, since a=(*) will work.
How can I force filename generation?
Thanks,
Tyler


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-07-21  2:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-10  7:20 globbing Will Yardley
2001-08-10  9:09 ` globbing Borsenkow Andrej
     [not found]   ` <20010810123418.H4701@hq.newdream.net>
2001-08-11 11:10     ` globbing Borsenkow Andrej
2001-08-11 21:23       ` globbing Bart Schaefer
2001-08-11 21:51         ` globbing Will Yardley
2001-08-12  5:42           ` globbing Borsenkow Andrej
2001-08-10  9:43 ` globbing Oliver Kiddle
2005-07-21  2:48 globbing Tyler Spivey

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).