zsh-users
 help / color / mirror / code / Atom feed
From: "Eric Mangold" <teratorn@twistedmatrix.com>
To: "Andre Pang" <andre@mindflux.com.au>
Cc: zsh-users@sunsite.dk, "Thom May" <thom@ubuntu.com>
Subject: Maintaining the 'rehash' hash automatically [was Re:  compctl_rehash for zshcompsys]
Date: Mon, 11 Apr 2005 15:55:18 +1000 (ChST)	[thread overview]
Message-ID: <58095.202.128.83.222.1113198918.squirrel@www.world-net.net> (raw)
In-Reply-To: <cdca7ed2ec2648304c1d580498d8dde3@mindflux.com.au>

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

I was just thinking about the recent advances in filesystem notification
services provided by modern kernels, e.g. inotify on linux2.6

Wouldn't it be pretty cool, if on supported systems, zsh could have an
option to maintain the hash all by itself with low overhead?

Anyone interested in doing this? Would patches be accepted?

Thoughts? Ideas?

-Eric Mangold


      parent reply	other threads:[~2005-04-11  6:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11  2:25 compctl_rehash for zshcompsys Andre Pang
2005-04-11  2:48 ` Bart Schaefer
2005-04-11  5:55 ` Eric Mangold [this message]

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=58095.202.128.83.222.1113198918.squirrel@www.world-net.net \
    --to=teratorn@twistedmatrix.com \
    --cc=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).