Joachim Beckers wrote: > Torsten Vollmann wrote: >> Hi. >> >> The introduction of extra-prompt.sh to blfs and plain installation of it >> leads to a corrupt prompt as it repeats the user, hostname and working >> dir. > > How do you mean "a corrupt promt"? Doesn't it just give you such a > redhat style [EMAIL PROTECTED]:~] thingie? Or does nALFS get confused > about it? > > Joachim
It gives me [EMAIL PROTECTED] /[EMAIL PROTECTED] : ActualDirImIn The first occurrance comes from extra-promt.sh (as $PROMPT_COMMAND is printed befor $PS1) and the second one from $PS1. Also note the /PathToHomeDir for it seems extra-promt.sh does not export the placeholders but the current value of these (echo $PROMPT_COMMAND prints out "[snip] /home/torsten [snip]" but should print "[snip] $(PWD) [snip]" -- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
