[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Prompt in Bash [fixed]

Will Lowe <lowe@cis.udel.edu> writes:

> Yup,  kill the "eval" and life is good.  Thanks,  Mr. Browning.

You're welcome, but sheesh, call me Rob :>

One final word for those who were following this thread.


  if [ ${PS1:-UNSET} = UNSET ]

should have been

  if [ "${PS1:-UNSET}" = UNSET ]

Without the quotes, you can get problems when you have a prompt with
escape characters.


TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: