Re: Prompt in Bash [fixed]
Will Lowe [EMAIL PROTECTED] 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. This 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. -- Rob -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Prompt in Bash [fixed]
On 6 Sep 1997, Rob Browning wrote: Gonzalo A. Diethelm [EMAIL PROTECTED] writes: Rob, thanks a lot for your script. I think there is a small glitch, though: export PROMPT_COMMAND='eval set_titlebar [EMAIL PROTECTED]:`my_dirname`' Yup, kill the eval and life is good. Thanks, Mr. Browning. Will --- [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.cis.udel.edu/~lowe/ For PGP Public Key, visit my website. --- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .