summaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 4446325..fbf4714 100644
--- a/.bashrc
+++ b/.bashrc
@@ -17,6 +17,9 @@ set +H
# Prompt
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
+if [ -r /etc/debian_chroot ]; then
+ PS1="($(cat /etc/debian_chroot))${PS1}"
+fi
# Terminal window title
case "${TERM}" in xterm*|rxvt*)
PS1="\[\e]0;\u@\h:\w\a\]${PS1}"