Re: [S.u.S.E. Linux] Is this a Bash 2 problem?
Found the answer to this one. It is NOT a Bash 2 problem! It is another SuSE gotcha! SuSE customizes the login prompt for EVERYONE in /etc/profile with PROMPT_COMMAND. If you comment that out users can customize their own prompt in .bash_profile, like always. The lines in the original message (below) work just fine now. Wayne Subject: [S.u.S.E. Linux] Is this a Bash 2 problem? Date: Sat, Jan 31, 1998 at 04:20:21PM -0500 In reply to:Wayne Topa Quoting Wayne Topa (wtopa@ix.netcom.com):
Hello
I wonder if there are any Bash 2.0 guru's on this list? I had a prompt line set up that worked in Bash 1 that doesn't now. Have tried to get working but to no avail.
Here it is:
V_TERM=`tty` export PS1="\[`setterm -foreground green`\]\[`setterm -bold on`\]VT${V_TERM##/dev/tty} \u-S1:\w\\$\[`setterm -default`\] "
Not a big deal but I am curious. Any ideas??
Wayne
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- -- Windows95 (noun): 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company, that can't stand 1 bit of competition. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (1)
-
wtopa@ix.netcom.com