lilalo

diff lm-install @ 11:971931a71c9e

export PS1
author devi
date Fri Jun 03 09:53:28 2005 +0300 (2005-06-03)
parents 35f394563dcb
children 37d701f903ec
line diff
     1.1 --- a/lm-install	Fri Jun 03 09:43:48 2005 +0300
     1.2 +++ b/lm-install	Fri Jun 03 09:53:28 2005 +0300
     1.3 @@ -80,7 +80,7 @@
     1.4  		mkdir -p ${LMHOME}
     1.5  		flush="-f"	#linux
     1.6  		flush="-t 0"	#freebsd
     1.7 -		PS1='\[`	a="$?";
     1.8 +		export PS1='\[`	a="$?";
     1.9  			HIDDEN=$([ "$a" = 0 ] || echo -n ^"$a")$(echo -n _${UID}_)$(echo -n _$$_)$(date\
    1.10  				+"%j$(cat ~/.labmaker/lab 2>/dev/null) %H:%M:%S");
    1.11  			echo $HIDDEN`\033[50D\033[K\][\u@\h:\W]\$ '