From 60dfd05620b40867ad4c03770646cf6afa8b08e1 Mon Sep 17 00:00:00 2001 From: tg Date: Tue, 2 Oct 2007 01:03:12 +0000 Subject: [PATCH] enable to use colour escapes framed with ^A by default --- dot.mkshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dot.mkshrc b/dot.mkshrc index ebc9891..b2a0b45 100644 --- a/dot.mkshrc +++ b/dot.mkshrc @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/dot.mkshrc,v 1.22 2007/09/25 22:36:36 tg Stab $ +# $MirOS: src/bin/mksh/dot.mkshrc,v 1.23 2007/10/02 01:03:12 tg Stab $ #- # Copyright (c) 2007 # Thorsten Glaser @@ -45,6 +45,7 @@ PS1='$(precmd)${USER:=$(ulimit -c 0;id -un 2>&- || print \?)}@${HOSTNAME%%.*}:$( wd=${wd#?????} fi done; print -r -- "$pfx$wd") '"$PS1 " +PS1="$(print -n '\001\015')$PS1" # allow colour codes, framed with ^A export EDITOR HOSTNAME LESSHISTFILE=- MKSH=$(whence -p mksh) PS1 TERM USER alias l='/bin/ls -F' alias la='l -a'