> Torsten, can you report this on blfs-dev please? I would have no idea
> what to say when anyone asks more details. I guess you would ;-)
> 
> Joachim


Done and fixed. The Quotes had to be swapped.

As to the double output Bruce says the scipt should be seen as an example so
I think we should stay with disabling the export of PROMPT_COMMAND and say
why.


Here's the patch:
Index: config_standard/etc/profile.d/extra-prompt.sh
===================================================================
--- config_standard/etc/profile.d/extra-prompt.sh	(revision 2006)
+++ config_standard/etc/profile.d/extra-prompt.sh	(working copy)
@@ -1,6 +1,10 @@
 # Begin /etc/profile.d/extra-prompt.sh
 
-PROMPT_COMMAND="echo -ne '[EMAIL PROTECTED] : ${PWD}\e[0m\a'"
+PROMPT_COMMAND='echo -ne "[EMAIL PROTECTED] : ${PWD}\e[0m\a"'
+
+# export is disabled as this is an example
+# if you want to use PROMPT_COMMAND remember to edit PS1, too 
+
 #export PROMPT_COMMAND
 
 # End /etc/profile.d/extra-prompt.sh
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to