From 6f64961abc2c1fca1c3029a975873176d7bfb653 Mon Sep 17 00:00:00 2001 From: Denis Peplin Date: Thu, 13 Jan 2005 15:48:00 +0000 Subject: [PATCH] The "rehash" command is not supported by every shell. Use the "hash -r" as additional example (sh and bash shells) zsh shell support both methods, no need to include it into example If someone personally like this shell, he can put it back :) --- en_US.ISO8859-1/books/handbook/ports/chapter.sgml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml index ccdda5ac02..d1c03daa68 100644 --- a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml @@ -880,10 +880,11 @@ docbook = commands. If you are using one of these shells, you might have to use the rehash command after installing a port, before the newly installed commands can - be used. This is true for both shells that are part of - the base-system (such as tcsh) and - shells that are available as ports (for instance, - shells/zsh). + be used. This command will work for shells like + tcsh. Use the hash -r + command for shells like sh or shells/bash. Look at + documentation for your shell for more information.