On Wed, Mar 10, 2004 at 07:52:20PM +0100, Thorsten Sauter wrote:
> * Joe Nahmias <[EMAIL PROTECTED]> [2004-03-10 19:08]:
> | (base)[EMAIL PROTECTED]:~$ dchroot sid
> | (unstable)[EMAIL PROTECTED]:~$ cat /etc/debian_version
> 
>   ^^^^^^^^^
> 
> how do you do this? I have also tried something like this, but without
> any success.

Put a file in each chroot (in /etc, say) identifying it, and then read
it into a shell variable in .bashrc so that your prompt can use it.

-- 
Colin Watson                                  [EMAIL PROTECTED]

Reply via email to