zsh-users
 help / color / mirror / code / Atom feed
From: Toshiro <toshiro@internet.com.uy>
To: zsh-users@sunsite.dk
Subject: Re: bug (feature?) in zsh
Date: Sun, 16 Jan 2005 17:30:10 -0200	[thread overview]
Message-ID: <200501161730.10724.toshiro@internet.com.uy> (raw)
In-Reply-To: <1105860898.14494.0.camel@amethyst.cql.com>

> > } I'm using Debian unstable, zsh version 4.2.2. I've noticed that, when I
> > } install a new package that puts some program in my path (for
> > } example, /usr/bin) I can't invoke the program using completion in any
> > zsh } shell that I have opened before installing the program.
> >
> > This is almost reaching FAQ status, but isn't yet in the FAQ.
> >
> > The completion system (including compctl) uses the command hash table to
> > look up names for completion in command position, because it's expensive
> > to search the path for them.  That means that if you install some new
> > piece of software, you need to run 'rehash' before the completion system
> > will see it, as you discovered.
>
> This isn't just true with zsh, it's true with lesser shells like bash or
> ksh.

I don't know what you really mean with this statement, but I can assure you 
that  I have to type 'rehash' to be able to see the new program in zsh; in 
bash I don't have to do anything at all, the new program is available 
immediately.

Toshiro.


  parent reply	other threads:[~2005-01-16 19:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-16  4:16 Toshiro
2005-01-16  6:33 ` Bart Schaefer
     [not found]   ` <1105860898.14494.0.camel@amethyst.cql.com>
2005-01-16 19:30     ` Toshiro [this message]
2005-01-17 15:59   ` William H. Magill
2005-01-17 23:11     ` Bart Schaefer
2005-01-18 10:29     ` Stephane Chazelas
2005-01-19  9:35       ` Seth Kurtzberg

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=200501161730.10724.toshiro@internet.com.uy \
    --to=toshiro@internet.com.uy \
    --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).