Here are examples of some of my prompts. It does use two lines, but
the extra context is worth it to me:
<tytso@cwcc> {/home/tytso}
267% cd /usr/projects/e2fsprogs/base
<tytso@cwcc> {/usr/projects/e2fsprogs/base} (BARE:master)
268% cd /usr/projects/e2fsprogs/e2fsprogs-maint
<tytso@cwcc> {/usr/projects/e2fsprogs/e2fsprogs-maint} (maint)
269% git lgt -1
* 45295a35 - (HEAD -> maint, origin/maint) setup-schroot: add some additional packages
needed to build debian packages (3 days ago)
<tytso@cwcc> {/usr/projects/e2fsprogs/e2fsprogs-maint} (maint)
270% schroot -c buster-amd64
Top-level shell (parent schroot)
<tytso(a)buster-amd64-CHROOT.cwcc> {/usr/projects/e2fsprogs/e2fsprogs-maint}
1% logout
<tytso@cwcc> {/usr/projects/e2fsprogs/e2fsprogs-maint} (maint)
271% cd
<tytso@cwcc> {/home/tytso}
272% su
Password:
<tytso.root@cwcc> {/home/tytso}, level 2
1001# bash
<tytso.root@cwcc> {/home/tytso}, level 3
1001# exit
<tytso.root@cwcc> {/home/tytso}, level 2
1002# exit
<tytso@cwcc> {/home/tytso}
273% ssh
imap.thunk.org
Linux
imap.thunk.org 5.10.13-x86_64-linode141 #1 SMP Thu Feb 4 13:56:42 EST 2021 x86_64
Last login: Sat Dec 25 04:33:54 2021 from 108.7.220.252
<tytso(a)imap.thunk.org> {/home/tytso}
501% logout
Connection to
imap.thunk.org closed.