X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.profile;h=93756db412a213909724bf2161e1fc8cef555c53;hb=d48e73aef5910b860e0a744fc09d2664f5023df1;hp=69491d008216d3d0b20d0a37d316b529e96382bd;hpb=e37710be48c1f92d9103ec6c4325b40ab855d23c;p=dotfiles.git diff --git a/.profile b/.profile index 69491d0..93756db 100644 --- a/.profile +++ b/.profile @@ -175,22 +175,20 @@ if [ -t 0 ] ; then fi if test -n "$BASH_VERSION"; then - . "$ENV" - if [ -r "$HOME"/admin/prog/bash_prompt ]; then . "$HOME"/admin/prog/bash_prompt set_prompts unset set_prompts else - OPS1="${debian_chroot:+($debian_chroot)}\u@\h:\W \\$" + OPS1="${debian_chroot:+($debian_chroot)}\u@\h:\W \$SHLVL\\$ " fi + . "$ENV" + else - OPS1="${debian_chroot:+($debian_chroot)}`/usr/bin/whoami`@`/bin/hostname -s` >" + OPS1="${debian_chroot:+($debian_chroot)}`/usr/bin/whoami`@`/bin/hostname -s` > " fi - export OPS1 - ### biff controls new mail notification #biff n ### mesg controls messages (write/talk) from other users