add a 'true' at the end, to not start with an errorlevel >0

This commit is contained in:
tg 2007-03-04 06:20:48 +00:00
parent e0e432347b
commit 2edb96e663
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,4 @@
# $MirOS: src/bin/mksh/dot.mkshrc,v 1.7 2007/03/04 03:04:23 tg Exp $
#-
# Add user-defined additions at the end, to prevent abortion on failure.
# $MirOS: src/bin/mksh/dot.mkshrc,v 1.8 2007/03/04 06:20:48 tg Exp $
: ${EDITOR:=/bin/ed} ${HOSTNAME:=$(hostname -s 2>/dev/null || hostname)}
PS1='$(((rv=$?)) && print $rv\|)${USER:=$(id -un)}@${HOSTNAME:=nil}:$(
@ -37,3 +35,7 @@ function Lstripcom
[[ -n $_line ]] && print -r -- $_line
done; }
}
# Your shell code goes below!
: Your shell code goes above!