From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Re: TAB-expansion problems
Date: Sun, 13 Mar 2005 04:50:36 +0000 [thread overview]
Message-ID: <1050313045036.ZM12713@candle.brasslantern.com> (raw)
In-Reply-To: <20050311.193734.78721293.Meino.Cramer@gmx.de>
On Mar 11, 7:37pm, Meino Christian Cramer wrote:
}
} Suppose I am at my $HOME/tmp/. directory. Furthermore there is only
} ONE additional directory called "TheLonelyOne" there. And I want to
} to change into that directory. As a lazy person now I would type on
} the commandline
}
} cd <TAB>
}
} and want to get
}
} cd TheLonelyOne
}
} then instead all worldwide reachable directories as a suggestion.
As Tim Kruse has said, the likelyhood here is that zsh is suggesting
subdirectories of the directories listed in your cdpath. If you add
the following style you'll get better information:
zstyle ':completion:*' format '%SCompleting %U%d%u%s'
After you've tried that, so you've seen what's going on, you can then
add this style:
zstyle :completion::complete:cd:: tag-order \
local-directories path-directories
The tag-order style controls which sets of matches are displayed. In
the example above, local-directories are preferred, and only when no
local directories are found are path-directories (those found along
your cdpath) shown. The default is to display all sets of matches at
the same time.
} From my current point of knowledge I didn't neither know the correct
} naming for that behaviour
It's "completion".
next prev parent reply other threads:[~2005-03-13 4:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-10 18:42 Ex-bash script for optimisation Meino Christian Cramer
2005-03-11 5:14 ` Bart Schaefer
2005-03-11 18:37 ` TAB-expansion problems Meino Christian Cramer
2005-03-12 9:15 ` Tim Kruse
2005-03-13 4:50 ` Bart Schaefer [this message]
2005-03-13 8:54 ` Meino Christian Cramer
2005-03-13 17:21 ` Bart Schaefer
2005-03-14 4:37 ` ESC-Question Meino Christian Cramer
2005-03-14 7:44 ` ESC-Question Philippe Troin
2005-03-14 16:58 ` ESC-Question Meino Christian Cramer
2005-03-14 17:09 ` ESC-Question Peter Stephenson
2005-03-14 17:22 ` ESC-Question Meino Christian Cramer
2005-03-14 18:18 ` ESC-Question Philippe Troin
2005-03-14 10:01 ` ESC-Question Sami Samhuri
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=1050313045036.ZM12713@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--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).