* Updating command cache
@ 2002-01-19 8:44 Jesper Holmberg
2002-01-19 9:35 ` Drew Perttula
2002-01-20 7:54 ` Christoph Lange
0 siblings, 2 replies; 3+ messages in thread
From: Jesper Holmberg @ 2002-01-19 8:44 UTC (permalink / raw)
To: Zsh-users List
I've found that when I install a new package (I'm running Debian), the
newly available commands (i.e. the executables that've just been
installed) are not available from the prompt. I can run the command by
specifying its complete path, but zsh doesn't find it on its own.
I imagine this is because there is some sort of cache with the available
executables, so my question is: how do I make zsh update this cache? I
realize it's a small matter to just exit and restart the shell, but I was
wondering how to do this without exiting.
TIA,
Jesper
--
Jesper Holmberg |"But how can |
jesper.holmberg@enst-bretagne.fr | one be warm |
ENST Br, BP 832, 29285 Brest, FRANCE | alone?" |
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Updating command cache
2002-01-19 8:44 Updating command cache Jesper Holmberg
@ 2002-01-19 9:35 ` Drew Perttula
2002-01-20 7:54 ` Christoph Lange
1 sibling, 0 replies; 3+ messages in thread
From: Drew Perttula @ 2002-01-19 9:35 UTC (permalink / raw)
To: Jesper Holmberg; +Cc: zsh-users
Run 'rehash'- that's exactly what it does.
> I imagine this is because there is some sort of cache with the available
> executables, so my question is: how do I make zsh update this cache? I
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Updating command cache
2002-01-19 8:44 Updating command cache Jesper Holmberg
2002-01-19 9:35 ` Drew Perttula
@ 2002-01-20 7:54 ` Christoph Lange
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Lange @ 2002-01-20 7:54 UTC (permalink / raw)
To: Jesper Holmberg; +Cc: Zsh-users List
> I've found that when I install a new package (I'm running Debian), the
> newly available commands (i.e. the executables that've just been
> installed) are not available from the prompt. I can run the command by
> specifying its complete path, but zsh doesn't find it on its own.
>
> [...] how do I make zsh update this cache?
rehash (same as hash -r).
Christoph
--
"Who the $&%*! is General Failure --
and why is he reading my hard disk??"
Christoph Lange, langec@web.de, http://www.cul.de/home/yaph/, ICQ #51191833
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-01-20 7:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-19 8:44 Updating command cache Jesper Holmberg
2002-01-19 9:35 ` Drew Perttula
2002-01-20 7:54 ` Christoph Lange
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).