zsh-users
 help / color / mirror / code / Atom feed
* newly created executables in PATH directories not recognized
@ 2008-04-30 16:06 Peter Menzel
  2008-04-30 16:13 ` Michael Hernandez
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Menzel @ 2008-04-30 16:06 UTC (permalink / raw)
  To: zsh-users

Hi,

When creating a new executable script in my ~/bin directory, which is
contained in the $PATH variable, this file is not found by the tab
completion of the current shell. After starting a new shell, the file
is found.

I looks like, zsh buffers the contents of all directories in the PATH
upon startup and does not reread those dirs.

Is there any option to disable this buffering?

best, Peter


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

* Re: newly created executables in PATH directories not recognized
  2008-04-30 16:06 newly created executables in PATH directories not recognized Peter Menzel
@ 2008-04-30 16:13 ` Michael Hernandez
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Hernandez @ 2008-04-30 16:13 UTC (permalink / raw)
  To: Peter Menzel; +Cc: zsh-users

Just run:

rehash

it will erm - re load the hash table :)

--Mike H

On Apr 30, 2008, at 12:06 PM, Peter Menzel wrote:

> Hi,
>
> When creating a new executable script in my ~/bin directory, which is
> contained in the $PATH variable, this file is not found by the tab
> completion of the current shell. After starting a new shell, the file
> is found.
>
> I looks like, zsh buffers the contents of all directories in the PATH
> upon startup and does not reread those dirs.
>
> Is there any option to disable this buffering?
>
> best, Peter


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

end of thread, other threads:[~2008-04-30 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-30 16:06 newly created executables in PATH directories not recognized Peter Menzel
2008-04-30 16:13 ` Michael Hernandez

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