From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24523 invoked from network); 18 Apr 1999 23:56:46 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Apr 1999 23:56:46 -0000 Received: (qmail 4449 invoked by alias); 18 Apr 1999 23:56:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6055 Received: (qmail 4441 invoked from network); 18 Apr 1999 23:56:32 -0000 Message-Id: <199904182356.TAA07088@ocalhost> Content-Type: text/plain MIME-Version: 1.0 X-Image-URL: http://www.peak.org/~luomat/luomat@peak.org.tiff From: Timothy J Luoma Date: Sun, 18 Apr 1999 19:56:21 -0400 To: zsh-workers@sunsite.auc.dk Subject: 3.1.5-pws-15 prompt change # Here's my PROMPT definition: ONCON=`who | fgrep ' console ' | awk '{print $1}'` if [ "$ONCON" = "$USERNAME" ]; then REMOTE_HOST="" LOCAL_HOST="" else REMOTE_HOST="(from $RHOST)" LOCAL_HOST="@%m" fi PROMPT=' ------------------------------ %t/%T ------------------------------ %S[OLDPWD: $OLDPWD] [PWD: %~]%s %B%n$LOCAL_HOST%b $REMOTE_HOST ' # end prompt w/ 3.1.4 it looks like this: ------------------------------ 7:54PM/19:54 ------------------------------ [OLDPWD: /] [PWD: ~] tjl * [where * shows where the cursor is] w/ 3.1.5 is looks like this: ------------------------------ 7:54PM/19:54 ------------------------------ [OLDPWD: /] [PWD: ~] tjl * Now, why is there a blank line there after my username? TjL