nojhan/liquidprompt — pull request #69 by LudovicRousseau (2012-08-27 09:48:31+00:00)
Title: Add support of /etc/debian_chroot

Debian uses the file /etc/debian_chroot to give a name to a chroot.
The default /etc/bash.bashrc contains:

if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi

PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '

I have no idea if and how the other distributions implement the same feature.