zsh-users
 help / color / mirror / code / Atom feed
From: Andre Pang <andre@mindflux.com.au>
To: zsh-users@sunsite.dk
Cc: Thom May <thom@ubuntu.com>
Subject: compctl_rehash for zshcompsys
Date: Mon, 11 Apr 2005 12:25:01 +1000	[thread overview]
Message-ID: <cdca7ed2ec2648304c1d580498d8dde3@mindflux.com.au> (raw)

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/>


             reply	other threads:[~2005-04-11  2:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11  2:25 Andre Pang [this message]
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

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=cdca7ed2ec2648304c1d580498d8dde3@mindflux.com.au \
    --to=andre@mindflux.com.au \
    --cc=thom@ubuntu.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).