Re: [gentoo-user] Zsh completion

2014-07-04 Thread Nikita Tropin
Question is old enough but... Try to click Ctrl-/ to undo.

2014-06-08 11:41 GMT+03:00 Matti Nykyri matti.nyk...@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



Re: [gentoo-user] Zsh completion

2014-07-04 Thread Matti Nykyri
 On Jul 4, 2014, at 13:55, Nikita Tropin posixivis...@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.nyk...@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
 



Re: [gentoo-user] Zsh completion

2014-07-04 Thread Simon Thelen
On 04/07/14 at 22:24, Matti Nykyri wrote:
  On Jul 4, 2014, at 13:55, Nikita Tropin posixivis...@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 ?



[gentoo-user] Zsh completion

2014-06-08 Thread Matti Nykyri
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