ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

commit cc826bded53a2ddb7105266a46929626099aa515
parent c8dd1361fb90ab1a7e9d1de420907b1dc14baa37
Author: sin <sin@2f30.org>
Date:   Wed, 11 Jun 2014 15:45:30 +0100

Set PS1 based on euid

Diffstat:
Mfs/skel/.mkshrc | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/fs/skel/.mkshrc b/fs/skel/.mkshrc @@ -1,4 +1,8 @@ -PS1='$ ' +if ! test "$(id -u)" -eq 0; then + PS1='$ ' +else + PS1='# ' +fi # C-l should clear the screen bind -m '^L'='^U'clear'^J''^Y'