public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Zsh completion
@ 2014-06-08  8:41 Matti Nykyri
  2014-07-04 10:55 ` Nikita Tropin
  0 siblings, 1 reply; 4+ messages in thread
From: Matti Nykyri @ 2014-06-08  8:41 UTC (permalink / raw
  To: gentoo-user

Hi

I use zsh and have quite perfect completion setup with it. There is just one very annoying feature that I have failed to switch off. With paths when I type this:

cd /archives/NE <tab>

zsh produces:

cd /achieves2/NEW/

The archives directory does not contain NEW directory and archives2 does. I would want that zsh wouldn't modify anything but the current level path I'm writing. So in this case it should of shown empty cuz there are no options to choose from. 

This happens of course with any similar directory case. The annoyance is that I know where I'm going and the right NEW directory in this case is under /archives/movies/NEW and not the one under /archives2/. So I have to clear some of the text which is slow :(

Would anyone know how to correct this¿? I have tried various options of approximation... Actually I don't like the approximation at all and have tried to fully disable it...

--
Matti

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

* Re: [gentoo-user] Zsh completion
  2014-06-08  8:41 [gentoo-user] Zsh completion Matti Nykyri
@ 2014-07-04 10:55 ` Nikita Tropin
  2014-07-04 19:24   ` Matti Nykyri
  0 siblings, 1 reply; 4+ messages in thread
From: Nikita Tropin @ 2014-07-04 10:55 UTC (permalink / raw
  To: gentoo-user

Question is old enough but... Try to click Ctrl-/ to undo.

2014-06-08 11:41 GMT+03:00 Matti Nykyri <matti.nykyri@iki.fi>:
> Hi
>
> I use zsh and have quite perfect completion setup with it. There is just one very annoying feature that I have failed to switch off. With paths when I type this:
>
> cd /archives/NE <tab>
>
> zsh produces:
>
> cd /achieves2/NEW/
>
> The archives directory does not contain NEW directory and archives2 does. I would want that zsh wouldn't modify anything but the current level path I'm writing. So in this case it should of shown empty cuz there are no options to choose from.
>
> This happens of course with any similar directory case. The annoyance is that I know where I'm going and the right NEW directory in this case is under /archives/movies/NEW and not the one under /archives2/. So I have to clear some of the text which is slow :(
>
> Would anyone know how to correct this¿? I have tried various options of approximation... Actually I don't like the approximation at all and have tried to fully disable it...
>
> --
> Matti



-- 
Regards,
Nikita


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

* Re: [gentoo-user] Zsh completion
  2014-07-04 10:55 ` Nikita Tropin
@ 2014-07-04 19:24   ` Matti Nykyri
  2014-07-04 19:38     ` Simon Thelen
  0 siblings, 1 reply; 4+ messages in thread
From: Matti Nykyri @ 2014-07-04 19:24 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

> On Jul 4, 2014, at 13:55, Nikita Tropin <posixivist32@gmail.com> wrote:

> 
> Question is old enough but... Try to click Ctrl-/ to undo.

Ok. Thanks. I'll try that. But still if I could disable that particular feature that would be the best option!

> 2014-06-08 11:41 GMT+03:00 Matti Nykyri <matti.nykyri@iki.fi>:
>> Hi
>> 
>> I use zsh and have quite perfect completion setup with it. There is just one very annoying feature that I have failed to switch off. With paths when I type this:
>> 
>> cd /archives/NE <tab>
>> 
>> zsh produces:
>> 
>> cd /achieves2/NEW/
>> 
>> The archives directory does not contain NEW directory and archives2 does. I would want that zsh wouldn't modify anything but the current level path I'm writing. So in this case it should of shown empty cuz there are no options to choose from.
>> 
>> This happens of course with any similar directory case. The annoyance is that I know where I'm going and the right NEW directory in this case is under /archives/movies/NEW and not the one under /archives2/. So I have to clear some of the text which is slow :(
>> 
>> Would anyone know how to correct this¿? I have tried various options of approximation... Actually I don't like the approximation at all and have tried to fully disable it...
>> 
>> --
>> Matti
> 
> 
> 
> -- 
> Regards,
> Nikita
> 


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

* Re: [gentoo-user] Zsh completion
  2014-07-04 19:24   ` Matti Nykyri
@ 2014-07-04 19:38     ` Simon Thelen
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Thelen @ 2014-07-04 19:38 UTC (permalink / raw
  To: gentoo-user

On 04/07/14 at 22:24, Matti Nykyri wrote:
> > On Jul 4, 2014, at 13:55, Nikita Tropin <posixivist32@gmail.com> wrote:
> > Question is old enough but... Try to click Ctrl-/ to undo.
> Ok. Thanks. I'll try that. But still if I could disable that particular feature that would be the best option!
man zshcompsys
Look at the path-completion and accept-exact-dirs styles.
You can try setting accep-exact-dirs to true or path-completion to
false.

-- 
Simon Thelen
Ya'll hear about the geometer who went to the beach to catch some
rays and became a tangent ?


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

end of thread, other threads:[~2014-07-04 19:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-08  8:41 [gentoo-user] Zsh completion Matti Nykyri
2014-07-04 10:55 ` Nikita Tropin
2014-07-04 19:24   ` Matti Nykyri
2014-07-04 19:38     ` Simon Thelen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox