zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Toshiro <toshiro@internet.com.uy>, zsh-users@sunsite.dk
Subject: Re: bug (feature?) in zsh
Date: Sun, 16 Jan 2005 06:33:00 +0000	[thread overview]
Message-ID: <1050116063300.ZM23267@candle.brasslantern.com> (raw)
In-Reply-To: <200501160216.15097.toshiro@internet.com.uy>

On Jan 16,  2:16am, Toshiro wrote:
} Subject: bug (feature?) in zsh
}
} 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.

See the zsh-users thread with subject "HASH_LIST_ALL?" from October 2004
for more discussion; in particular, article 8059 presents a technique
for working around this behavior.


  reply	other threads:[~2005-01-16  6:34 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 [this message]
     [not found]   ` <1105860898.14494.0.camel@amethyst.cql.com>
2005-01-16 19:30     ` Toshiro
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=1050116063300.ZM23267@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=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).