enable to use colour escapes framed with ^A by default
This commit is contained in:
parent
307330bee2
commit
60dfd05620
@ -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
|
# Copyright (c) 2007
|
||||||
# Thorsten Glaser <tg@mirbsd.de>
|
# Thorsten Glaser <tg@mirbsd.de>
|
||||||
@ -45,6 +45,7 @@ PS1='$(precmd)${USER:=$(ulimit -c 0;id -un 2>&- || print \?)}@${HOSTNAME%%.*}:$(
|
|||||||
wd=${wd#?????}
|
wd=${wd#?????}
|
||||||
fi
|
fi
|
||||||
done; print -r -- "$pfx$wd") '"$PS1 "
|
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
|
export EDITOR HOSTNAME LESSHISTFILE=- MKSH=$(whence -p mksh) PS1 TERM USER
|
||||||
alias l='/bin/ls -F'
|
alias l='/bin/ls -F'
|
||||||
alias la='l -a'
|
alias la='l -a'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user