On Thu, Feb 13, 2003 at 10:01:58AM +1030, [EMAIL PROTECTED] wrote:

>         *) PS1="$(PS1)S ";;

> Yet on login I get this error message:
> bash: PS1: command not found

$(foo) is the same as `foo`.  It runs the command "foo" and uses its
output.  So the shell is looking for a command called PS1.

You want ${PS1} (curly braces, not parentheses).  I think your mind has
been tainted by Makefiles which use $(foo) for variable substitution.

-- 
Matthew Hunt <[EMAIL PROTECTED]> * Science rules.
http://www.pobox.com/~mph/           *

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to