Le 5 août 2011 à 12:52, Brandon Allbery a écrit : > On Fri, Aug 5, 2011 at 06:46, Brandon Allbery <[email protected]> wrote: > changes them will render that information obsolete. With bash (OSX default) > and zsh, "hash -r" will update the seen command information; with tcsh, it's > "rehash". > > Just for completeness: "rehash" is the historical command and should work in > any shell that supports command hashing (it's a built-in alias to "hash -r" > in bash and zsh, and a built-in in tcsh and ksh); and as a last resort you > can just make a dummy update to $PATH to force any command hash to be > discarded: > > PATH="$PATH" # in sh-like shells > set path=($path) # in csh-like shells
I'm currently using zsh and I confirm that rehash works for me. But I don't know if zsh is sh-like or csh-like shell ? > > -- > brandon s allbery [email protected] > wandering unix systems administrator (available) (412) 475-9364 vm/sms >
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
