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

Re: Where is Bash Prompt Set??



On Wed, Feb 10, 2010 at 06:17:20AM +0000, Tom Furie wrote:
> I think the point is that it's a lot easier to overlook "root" buried
> somewhere in the middle of a long prompt than it is to overlook a "#"
> right next to the cursor.

Stan's example is trivially fixed by replacing the static
'$' with '\$' (and ensuring the string remains
single-quoted)

Attachment: signature.asc
Description: Digital signature


Reply to: