I'm losing my temper here -- why did the first prompt work normally and the second looks fine, yet if I try to type more than one line, it doesn't start a new one but starts overwriting the very same one instead!?
andrej ####################################### NC='\e[0m' BLUE='\e[1;34m' function jbs() { if [ "$(jobs)" = "" ] then echo " " else echo -e " :: ($(jobs | awk '{print $3}' | tr "\n" ",")\b)" fi } #FIRST, WORKING PROMPT: export PS1="[${BLUE}\h${NC}] \l"'$(jbs)\n \w \$'" " #SECOND, NON-WORKING ONE: export PS1="[\l::\W]"'$(jbs)'" \n[${BLUE}\h${NC}] " ######################################### -- echo ${girl_name} > /etc/dumpdates -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]