zsh-users
 help / color / mirror / code / Atom feed
* compctl_rehash for zshcompsys
@ 2005-04-11  2:25 Andre Pang
  2005-04-11  2:48 ` Bart Schaefer
  2005-04-11  5:55 ` Maintaining the 'rehash' hash automatically [was Re: compctl_rehash for zshcompsys] Eric Mangold
  0 siblings, 2 replies; 3+ messages in thread
From: Andre Pang @ 2005-04-11  2:25 UTC (permalink / raw)
  To: zsh-users; +Cc: Thom May

Hi all,

I had a really handy old macro for zsh v3 that automatically rehashed 
on a failed tab command completion, using the compctl completion 
system:

     http://www.zsh.org/mla/workers/1998/msg00574.html

     function compctl_rehash { rehash; reply=() }
     compctl -C -c + -K compctl_rehash + -c

Since I'm really, really far from a zsh guru, would it be asking too 
much for a kind soul to get this working with the new zshcompsys system 
used in zsh 4?  I did try, but my brain died after I read the 
zshcompsys manpage for 5 minutes ...

Thanks very much!


-- 
% Andre Pang : trust.in.love.to.save  <http://www.algorithm.com.au/>


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

end of thread, other threads:[~2005-04-11  6:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-11  2:25 compctl_rehash for zshcompsys Andre Pang
2005-04-11  2:48 ` Bart Schaefer
2005-04-11  5:55 ` Maintaining the 'rehash' hash automatically [was Re: compctl_rehash for zshcompsys] Eric Mangold

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