* completion... from the back?
@ 2007-12-12 21:54 Alexy Khrabrov
2007-12-13 7:34 ` Oliver Kiddle
0 siblings, 1 reply; 2+ messages in thread
From: Alexy Khrabrov @ 2007-12-12 21:54 UTC (permalink / raw)
To: zsh-users
I have directories with many scientific result-type files, whose
names look like,
abra-cadabra-schvabra-u-x-x10-1
abra-cadabra-schvabra-u-W-p10-2
...
Their prefixes coincide to a significant length, but suffixes differ
very quickly. Is there a way to tune zsh to complete files in such
directories right-to-left? :)
Cheers,
Alexy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: completion... from the back?
2007-12-12 21:54 completion... from the back? Alexy Khrabrov
@ 2007-12-13 7:34 ` Oliver Kiddle
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Kiddle @ 2007-12-13 7:34 UTC (permalink / raw)
To: Alexy Khrabrov; +Cc: zsh-users
Alexy Khrabrov wrote:
> Their prefixes coincide to a significant length, but suffixes differ
> very quickly. Is there a way to tune zsh to complete files in such
> directories right-to-left? :)
If you have the completeinword option set, anything to the right of the
cursor is also considered when generating matches. So you would type
the end of the filename, move the cursor back and then press tab.
Oliver
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-13 7:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-12 21:54 completion... from the back? Alexy Khrabrov
2007-12-13 7:34 ` Oliver Kiddle
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).